Metadata-Version: 2.4
Name: pinchana-scraper
Version: 26.11.15
Summary: One Python package for importing all Pinchana scrapers
License-Expression: MIT
License-File: LICENSE
Requires-Dist: pinchana-core>=26.11.14
Requires-Dist: pinchana-apple-music>=26.11.14
Requires-Dist: pinchana-bluesky>=26.11.14
Requires-Dist: pinchana-coub>=26.11.14
Requires-Dist: pinchana-deezer>=26.11.14
Requires-Dist: pinchana-inst>=26.11.14
Requires-Dist: pinchana-shorts>=26.11.14
Requires-Dist: pinchana-soundcloud>=26.11.14
Requires-Dist: pinchana-spotify>=26.11.14
Requires-Dist: pinchana-threads>=26.11.14
Requires-Dist: pinchana-tiktok>=26.11.14
Requires-Dist: pinchana-twitter>=26.11.14
Requires-Dist: pinchana-ytgroups>=26.11.14
Requires-Dist: pinchana-ytmusic>=26.11.14
Requires-Python: >=3.13
Project-URL: Repository, https://github.com/Pinchana/pinchana-api
Project-URL: Issues, https://github.com/Pinchana/pinchana-api/issues
Description-Content-Type: text/markdown

# Pinchana Scraper

`pinchana-scraper` installs all 13 Pinchana scrapers under one import
namespace. Python loads each scraper when you import or access its module.
You can use the scrapers in a script without a running API gateway.

```python
import asyncio

from pinchana_scraper import shorts


async def main():
    result = await shorts.scrape(
        "https://www.youtube.com/shorts/VIDEO_ID",
        cache_dir="./downloads",
    )
    print(result.caption, result.media_path(result.video_url))


asyncio.run(main())
```

You can also import a function directly with
`from pinchana_scraper.shorts import scrape`.

The available modules are `apple_music`, `bluesky`, `coub`, `deezer`,
`instagram`, `shorts`, `soundcloud`, `spotify`, `threads`, `tiktok`,
`twitter`, `ytgroups`, and `ytmusic`. Each exports `scrape()` along with
its available metadata and playlist functions.

For local development, run `uv sync --locked` from this directory.
Set `VPN_ENABLED=false` before importing a scraper if you run outside
Gluetun. See the project guide for platform credentials, local tools, and
the Python result types. [Pinchana Python API guide](https://github.com/Pinchana/pinchana-api#python-api)
