Update playlist item parser to work with unavailable songs

This commit is contained in:
sigma67 2020-03-09 14:55:04 +01:00
commit c9dd0192c7
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
3 changed files with 23 additions and 12 deletions

View file

@ -19,6 +19,10 @@ def get_owned_playlist():
assert (len(songs) == 64)
def get_history():
songs = youtube_auth.get_history()
assert (len(songs) > 0)
def search():
results = youtube_auth.search("Oasis Wonderwall")
print(results)
@ -40,5 +44,6 @@ def end2end():
if __name__ == '__main__':
end2end()
#get_history()
#search()
#get_owned_playlist()