A scraper for everything on YouTube
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.
query: The query string of your search
continuation_token: a token for continuing the search. You will find it at the very end of every search result JSON.
Returns a collection of items and metadata of playlists that match the API request parameters.
api.playlist(playlistId=None, continuation_token=None, parseAll=True)
playlistId: The ID of playlist you want. You can find it at the url of the playlist page.
continuation_token: a token for continuing the search. You will find it at the very end of search result JSON if
parseAll: Parse all items in the playlist. Default set to True.
Returns a collection data of channel resources that match the request criteria.
channelId: ID of the channel.
username: username of the channel user.
Returns data of the video that matches the video ID.
videoId: The ID of the videos
video = api.video(videoId) video.download(itag=None, path=".", log_progress=True, chunk_size=4096, callback_func=None)
itag: The itag of the video you want to download. Download the best quality if not specified.
path: Destination path of your choice. Downloaded videos will go there.
log_progress: Wether to show download progressbar or not. Default to True.
callback_func: Feature under development
- Not an official release (careless bug found)
- Freshly uploaded this package to PyPi
- Updated README.md
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for youtube-scraping-api-0.0.4.tar.gz
Hashes for youtube_scraping_api-0.0.4-py3-none-any.whl