A scraper for everything on YouTube
Project description
YouTube-Scraping-API
An easy-to-use YouTube API, without any kind of quota. I'm still working on it, so stay tuned for the updates to come.
Documentation
Importing The API
from YouTubeAPI import YouTubeAPI
api = YouTubeAPI()
Search
Returns a collection of search results that match the query parameters specified in the API request.
api.search(query=None, continuation_token=None)
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.
Playlist
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=False.
parseAll: Parse all items in the playlist. Default set to True.
Channel (working)
Returns a collection data of channel resources that match the request criteria.
api.channel(channelId=None, username=None)
channelId: The ID of channel.
username: The username of channel user.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for youtube-scraping-api-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3839e2db0d4a9afedc16adef235cc86db5f7a51070b9897c274e77ad80819d48 |
|
MD5 | de4b0d338bc70f759615d279ef66e5ed |
|
BLAKE2b-256 | 15e53bfea4b75867505abd0e8e0c21e435807198ac19efcc9e324fcaee937f28 |
Hashes for youtube_scraping_api-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bee51c80d01603e31a6ff939ddc23b88132db3ccc3ffbcd5059393c1208df57 |
|
MD5 | decdd27cfa15862dff9e1797c6fa71ed |
|
BLAKE2b-256 | 4fc59f7501579d6489b798f0082c704277d64514998f1a3cac3d14dd646d5804 |