Update Readme and small fix

fix for #5
This commit is contained in:
Azlux
2019-03-21 15:20:58 +01:00
parent 89b11d896f
commit 59e8d0d978
2 changed files with 24 additions and 11 deletions

View File

@ -6,7 +6,7 @@ def get_url_info(index=-1):
ydl_opts = {
'noplaylist': True
}
var.playlist[index]['duration'] = 0
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
for i in range(2):
try: