Skip to main content

Command line utility querying the YouTube API v3.

Project description

fetch-yt.py

-q --query STRING Text that is used for the search on YouTube. Needed

-o --output Specifies the output file. Default: data/result.sql

-n --number INTEGER (ARRAY) Number of videos fetched per level. If an array is provided, the i-th element equals the number of videos fetched on the i-th level. Default: 10

-l --levels INTEGER Number of recursion steps per video. Default: 1

-v --verbose Print more information to output.

Known Issues

  • The number parameter is restricted to maximal 50. This can be fixed in the future by iterating through result pages.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yt-scraper-0.2.2.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

yt_scraper-0.2.2-py3-none-any.whl (158.4 kB view hashes)

Uploaded Python 3

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