dateafter와 headers 관련 버그 수정

This commit is contained in:
joyfuI
2020-12-12 18:34:51 +09:00
parent 04937f7c64
commit 2043373395
4 changed files with 5 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ class LogicNormal(object):
opts['cookiefile'] = kwagrs['cookiefile']
dateafter = kwagrs.get('dateafter')
headers = kwagrs.get('headers')
youtube_dl = MyYoutubeDL(plugin, url, filename, temp_path, save_path, opts, dateafter, headers)
youtube_dl = MyYoutubeDL(plugin, url, filename, temp_path, save_path, opts, dateafter, headers=headers)
youtube_dl.key = kwagrs.get('key')
LogicNormal.youtube_dl_list.append(youtube_dl) # 리스트 추가
return youtube_dl