Browse Source

Patch the check for playlist exist on Youtube, fix #39

pull/45/head
LecygneNoir 4 years ago
parent
commit
b29b9cedef
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/yt_upload.py

+ 1
- 1
lib/yt_upload.py View File

@ -168,7 +168,7 @@ def get_playlist_by_name(youtube, playlist_name):
maxResults=50
).execute()
for playlist in response["items"]:
if playlist["snippet"]['title'] == playlist_name:
if playlist["snippet"]['title'].encode('utf8') == str(playlist_name):
return playlist['id']

Loading…
Cancel
Save