Skip to main content

A scraper for everything on YouTube

Project description


An easy-to-use YouTube API, without any kind of quota, and download any videos on youtube as much as you like.
I'm still working on it, so stay tuned for more updates to come.


Installing the API

pip install youtube-scraping-api

Importing the API

from youtube_scraping_api import YouTubeAPI
api = YouTubeAPI()


Returns a collection of search results that match the query parameters specified in the API request., continuation_token=None)


Returns a collection of items and metadata of playlists that match the API request parameters.

api.playlist(playlistId=None, continuation_token=None, parseAll=True)

Channel (working)

Returns a collection data of channel resources that match the request criteria., username=None)


Parse the data of the video that matches the video ID.

video =

#get the data of the video

Download Video

Download the video with whatever resolution you want up to 720p.

video =, path=".", log_progress=True, chunk_size=4096, callback_func=None)


Parse captions available for the video.

video =

#query containing every available captions of the video
captions = video.captions

#return the caption that matches the language code. Return default language if language code isn't provided
caption = captions.get_caption(language_code='en')

#return all available translation languages if the caption is translatable
available_translation_language = caption.available_translations

#return the translation of the caption if it's translatable
translated_caption = caption.translate_to('zh-Hant')

#return the caption in string format

#return the caption in dictionary format with starting time and duration of each text snippet


0.0.1 (deleted)

  • Not an official release (careless bug found)


  • Freshly uploaded this package to PyPi


  • Updated


  • Video caption feature added


  • Updated


  • minor bug fixed on video download

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

youtube-scraping-api-1.0.0.tar.gz (15.4 kB view hashes)

Uploaded source

Built Distribution

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