From 2043373395b613863f8b631b14bbb00505f521d1 Mon Sep 17 00:00:00 2001 From: joyfuI Date: Sat, 12 Dec 2020 18:34:51 +0900 Subject: [PATCH] =?UTF-8?q?dateafter=EC=99=80=20headers=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ info.json | 2 +- logic_normal.py | 2 +- plugin.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 89c89e1..f66acd3 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,8 @@ API를 제공합니다. 다른 플러그인에서 동영상 정보나 다운로 물론 해당 정보가 없으면 null입니다. ## Changelog +v2.1.1 + v2.1.0 * download API에 cookiefile, headers 키 추가 카카오TV 동영상 다운로드에 활용할 수 있습니다. 잘하면 로봇 체크 패스에도 사용이 가능한 듯 싶습니다. diff --git a/info.json b/info.json index fa542f4..2301ae4 100644 --- a/info.json +++ b/info.json @@ -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.0", "home": "https://github.com/joyfuI/youtube-dl", "category_name": "vod", "developer": "joyfuI"} \ No newline at end of file +{"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"} \ No newline at end of file diff --git a/logic_normal.py b/logic_normal.py index 6483768..fe0b8b8 100644 --- a/logic_normal.py +++ b/logic_normal.py @@ -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 diff --git a/plugin.py b/plugin.py index 8124958..fc8cc47 100644 --- a/plugin.py +++ b/plugin.py @@ -45,7 +45,7 @@ menu = { } plugin_info = { - 'version': '2.1.0', + 'version': '2.1.1', 'name': 'youtube-dl', 'category_name': 'vod', 'developer': 'joyfuI',