An asynchronous web scraper and video downloader using pyppeteer
Project description
pip install tqdm
pip install twine
pip install setuptools wheel
python setup.py sdist bdist_wheel
pip install .
#USAGE
import asyncio from xgroovy import scrape_videos, download_video
async def test_scrape_videos(): videos = await scrape_videos("cosplay") assert len(videos) > 0
async def test_download_video(): video_url = await download_video("your_video_page_url_here") assert video_url is not None
if name == "main": asyncio.run(test_scrape_videos()) asyncio.run(test_download_video())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file xgroovy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: xgroovy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84cf2c3faff00f2a9e04d2ff0ac385c209cf56f06c540dcd3683badf8fc5e9f9 |
|
MD5 | b104b8fa8efcecf9fd186f8b6fde05a5 |
|
BLAKE2b-256 | 6a441152559c8fd9c2aa41b93a33f99ad8bad607b4b0541e131e9e9117ab8517 |