youtube-dlc 호환 문제 수정
This commit is contained in:
@@ -135,6 +135,9 @@ API를 제공합니다. 다른 플러그인에서 동영상 정보나 다운로
|
||||
물론 해당 정보가 없으면 null입니다.
|
||||
|
||||
## Changelog
|
||||
v2.1.2
|
||||
* youtube-dlc 호환 문제 수정
|
||||
|
||||
v2.1.1
|
||||
|
||||
v2.1.0
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"description": "\uc720\ud29c\ube0c, \ub124\uc774\ubc84TV \ub4f1 \ub3d9\uc601\uc0c1 \uc0ac\uc774\ud2b8\uc5d0\uc11c \ub3d9\uc601\uc0c1 \ub2e4\uc6b4\ub85c\ub4dc", "name": "youtube-dl", "more": "", "version": "2.1.1", "home": "https://github.com/joyfuI/youtube-dl", "category_name": "vod", "developer": "joyfuI"}
|
||||
{"description": "\uc720\ud29c\ube0c, \ub124\uc774\ubc84TV \ub4f1 \ub3d9\uc601\uc0c1 \uc0ac\uc774\ud2b8\uc5d0\uc11c \ub3d9\uc601\uc0c1 \ub2e4\uc6b4\ub85c\ub4dc", "name": "youtube-dl", "more": "", "version": "2.1.2", "home": "https://github.com/joyfuI/youtube-dl", "category_name": "vod", "developer": "joyfuI"}
|
||||
@@ -113,7 +113,7 @@ class LogicNormal(object):
|
||||
if 'cookiefile' in kwagrs and kwagrs['cookiefile']:
|
||||
opts['cookiefile'] = kwagrs['cookiefile']
|
||||
dateafter = kwagrs.get('dateafter')
|
||||
headers = kwagrs.get('headers')
|
||||
headers = kwagrs.get('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) # 리스트 추가
|
||||
|
||||
@@ -118,7 +118,7 @@ class MyYoutubeDL(object):
|
||||
self.status = Status.ERROR
|
||||
return
|
||||
self.info_dict['extractor'] = info_dict['extractor']
|
||||
self.info_dict['title'] = info_dict['title']
|
||||
self.info_dict['title'] = info_dict.get('title', info_dict['id'])
|
||||
self.info_dict['uploader'] = info_dict.get('uploader', '')
|
||||
self.info_dict['uploader_url'] = info_dict.get('uploader_url', '')
|
||||
ydl_opts = {
|
||||
|
||||
Reference in New Issue
Block a user