Skip to main content

An asynchronous web scraper and video downloader using pyppeteer

Project description

#xgroovy.com module

#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

xgroovy-0.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file xgroovy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: xgroovy-0.1.2-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

Hashes for xgroovy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d08363afb6cfe4d71a45ee7356b8ff4c5c78c739b674a7ae5e10dc57e94d254
MD5 6f9052a0761c2581a19591f18df269be
BLAKE2b-256 d26df9e78c6739f0dda1a871dbd292a8163ec8dbf7e0522fd64383974df9df5e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page