Skip entry if item is private or uploaded
This commit is contained in:
parent
8a9d0b306d
commit
95d69fe6ce
1 changed files with 3 additions and 1 deletions
|
|
@ -48,7 +48,9 @@ class Parser:
|
|||
runs[default_offset:last_artist_index + 1])
|
||||
|
||||
if resultType in ['artist', 'album', 'playlist']:
|
||||
search_result['browseId'] = nav(data, NAVIGATION_BROWSE_ID)
|
||||
search_result['browseId'] = nav(data, NAVIGATION_BROWSE_ID, True)
|
||||
if not search_result['browseId']:
|
||||
continue
|
||||
|
||||
if resultType in ['artist']:
|
||||
search_result['artist'] = get_item_text(data, 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue