Module ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad Str AttributeLoad NameLoad attr Print BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body Return Call AttributeLoad NameLoad attr orelse Print BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str SubscriptLoad NameLoad Index Num Str NameLoad Str Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq Call NameLoad NameLoad Num body Return ListLoad Assign NameStore Num Assign NameStore ListLoad Assign NameStore NameLoad While BoolOpOr CompareIs NameLoad NameLoad CompareLt NameLoad NameLoad body TryExcept body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Break AugAssignAdd NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body Break Print BinOpAdd Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq Call NameLoad NameLoad Num body Return NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list Assign NameStore IfExp CompareEq NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq Call NameLoad NameLoad Num body Return NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore IfExp CompareEq NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Str NameLoad Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq Call NameLoad NameLoad Num body Return NameLoad Assign NameStore Set Str Str Assign NameStore Set Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Set Str Str FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad NameLoad body Print BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Print BinOpAdd BinOpAdd Str Call AttributeLoad Str attr NameLoad Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIs Call AttributeLoad NameLoad attr Str NameLoad NameLoad CompareNotEq NameLoad Str body Print BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Print Str Return NameLoad Return NameLoad decorator_list Assign NameStore BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Call NameLoad SubscriptLoad NameLoad Index Num If UnaryOpNot NameLoad body Print Str Return NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A __future__ unicode_literals colorama Fore spotify_ripper.utils * N/A os N/A time N/A spotify N/A requests N/A re WebAPI N/A object N/A __init__ N/A N/A self args ripper N/A N/A N/A N/A self args args N/A N/A self ripper ripper N/A N/A self cache N/A N/A cache_result N/A N/A self uri result N/A N/A N/A N/A N/A self cache N/A uri result N/A get_cached_result N/A N/A self uri N/A N/A N/A N/A N/A N/A self cache get uri N/A request_json N/A N/A self url msg N/A N/A N/A N/A N/A N/A N/A N/A Fore GREEN Attempting to retrieve  msg  from Spotify's Web API N/A Fore RESET N/A N/A N/A N/A Fore CYAN url N/A Fore RESET N/A req N/A N/A requests get url N/A N/A N/A req status_code 200 N/A N/A N/A N/A req json N/A N/A N/A N/A N/A N/A Fore YELLOW URL returned non-200 HTTP code:  N/A str N/A req status_code N/A Fore RESET N/A None N/A api_url N/A N/A self url_path N/A N/A N/A N/A https://api.spotify.com/v1/ url_path N/A charts_url N/A N/A self url_path N/A N/A N/A N/A https://spotifycharts.com/api/ url_path N/A get_albums_with_filter N/A N/A self uri filter N/A N/A get_albums_json N/A N/A offset filter N/A N/A N/A url N/A N/A self api_url N/A N/A N/A N/A N/A artists/ N/A uri_tokens N/A 2 /albums/?=album_type= filter &limit=50&offset= N/A str offset N/A N/A N/A self request_json url albums N/A N/A cached_result N/A N/A self get_cached_result uri N/A N/A cached_result None N/A N/A cached_result N/A uri_tokens N/A N/A uri split : N/A N/A N/A len uri_tokens 3 N/A N/A N/A N/A offset 0 N/A album_uris N/A N/A total None N/A N/A N/A total None N/A offset total N/A N/A N/A N/A N/A total None N/A N/A N/A N/A time sleep 1.0 N/A albums N/A get_albums_json offset filter N/A N/A albums None N/A N/A N/A album_uris N/A N/A album N/A uri N/A album N/A albums N/A items N/A offset N/A len album_uris N/A N/A total None N/A N/A total N/A albums N/A total N/A N/A N/A KeyError N/A e N/A N/A N/A N/A N/A str N/A len album_uris  albums found N/A N/A N/A self cache_result uri album_uris N/A album_uris N/A get_artists_on_album N/A N/A self uri N/A N/A get_album_json N/A N/A album_id N/A N/A N/A url N/A N/A self api_url N/A albums/ album_id N/A N/A N/A self request_json url album N/A N/A cached_result N/A N/A self get_cached_result uri N/A N/A cached_result None N/A N/A cached_result N/A uri_tokens N/A N/A uri split : N/A N/A N/A len uri_tokens 3 N/A N/A None N/A album N/A get_album_json N/A uri_tokens N/A 2 N/A N/A album None N/A N/A None N/A result N/A N/A artist N/A name N/A artist N/A album N/A artists N/A N/A N/A self cache_result uri result N/A result N/A get_genres N/A N/A self genre_type track N/A N/A get_genre_json N/A N/A spotify_id N/A N/A N/A url N/A N/A self api_url N/A N/A genre_type s/ spotify_id N/A N/A N/A self request_json url genres N/A N/A item N/A N/A genre_type artist N/A N/A track artists N/A 0 N/A track album N/A uri N/A N/A item link uri N/A cached_result N/A N/A self get_cached_result uri N/A N/A cached_result None N/A N/A cached_result N/A uri_tokens N/A N/A uri split : N/A N/A N/A len uri_tokens 3 N/A N/A None N/A json_obj N/A get_genre_json N/A uri_tokens N/A 2 N/A N/A json_obj None N/A N/A None N/A result N/A json_obj N/A genres N/A N/A N/A self cache_result uri result N/A result N/A get_charts N/A N/A self uri N/A N/A get_tracks_json N/A N/A metrics region time_window from_date N/A N/A N/A limit N/A N/A metrics viral 50 200 N/A url N/A N/A self charts_url N/A N/A N/A N/A N/A N/A N/A N/A N/A ?limit= limit &country= region &recurrence= time_window &date= from_date &type= metrics N/A N/A N/A self request_json url N/A N/A N/A region metrics  charts N/A N/A cached_result N/A N/A self get_cached_result uri N/A N/A cached_result None N/A N/A cached_result N/A uri_tokens N/A N/A uri split : N/A N/A N/A len uri_tokens 6 N/A N/A None N/A valid_metrics N/A regional viral N/A valid_regions N/A us gb ad ar at au be bg bo br ca ch cl co cr cy cz de dk do ec ee es fi fr gr gt hk hn hu id ie is it lt lu lv mt mx my ni nl no nz pa pe ph pl pt py se sg sk sv tr tw uy global N/A valid_windows N/A daily weekly sanity_check N/A N/A val valid_set N/A N/A N/A N/A val valid_set N/A N/A N/A N/A N/A N/A Fore YELLOW Not a valid Spotify charts URI parameter:  val N/A Fore RESET N/A N/A N/A Valid parameter options are: [ N/A N/A ,  join valid_set ] N/A False N/A True N/A sanity_check_date N/A N/A val N/A N/A N/A N/A N/A N/A N/A re match ^\d{4}-\d{2}-\d{2}$ val None N/A val latest N/A N/A N/A N/A N/A N/A Fore YELLOW Not a valid Spotify charts URI parameter:  val N/A Fore RESET N/A Valid parameter options are: ['latest', a date (e.g. 2016-01-21)] N/A False N/A True N/A N/A check_results N/A N/A sanity_check N/A uri_tokens N/A 2 valid_metrics N/A sanity_check N/A uri_tokens N/A 3 valid_regions N/A sanity_check N/A uri_tokens N/A 4 valid_windows N/A sanity_check_date N/A uri_tokens N/A 5 N/A N/A check_results N/A N/A Generally, a charts URI follow the pattern spotify:charts:metric:region:time_window:date N/A None N/A json_obj N/A get_tracks_json N/A uri_tokens N/A 2 N/A uri_tokens N/A 3 N/A uri_tokens N/A 4 N/A uri_tokens N/A 5 N/A N/A json_obj None N/A N/A None N/A N/A N/A self cache_result uri json_obj N/A json_obj N/A N/A