Created
October 24, 2018 17:11
-
-
Save auwsom/f8f1c84aa0af9647fd3efca835b61262 to your computer and use it in GitHub Desktop.
CategoryId for YouTube dictionary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dict1 = {1 :'Film & Animation', 2 :'Autos & Vehicles', 10 :'Music', 15 :'Pets & Animals', 17 :'Sports', 18 :'Short Movies', 19 :'Travel & Events', 20 :'Gaming', 21 :'Videoblogging', 22 :'People & Blogs', 23 :'Comedy', 24 :'Entertainment', | |
25 :'News & Politics', 26 :'Howto & Style', 27 :'Education', 28 :'Science & Technology', 29 :'Nonprofits & Activism', 30 :'Movies', 31 :'Anime/Animation', 32 :'Action/Adventure', 33 :'Classics', 34 :'Comedy', 35 :'Documentary', | |
36 :'Drama', 37 :'Family', 38 :'Foreign', 39 :'Horror', 40 :'Sci-Fi/Fantasy', 41 :'Thriller', 42 :'Shorts', 43 :'Shows', 44 :'Trailers'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the category IDs are returned as strings in the response.
see https://socialblade.com/youtube/ for charts. it appears all videos are autotagged with one of these categories ids and the vast majority are the categories available on this site. although it only shows charts of 'youtubers' channels.