yt-dlp 패키지명 변경 대응
This commit is contained in:
@@ -133,6 +133,9 @@ API를 제공합니다. 다른 플러그인에서 동영상 정보나 다운로
|
|||||||
물론 해당 정보가 없으면 null입니다.
|
물론 해당 정보가 없으면 null입니다.
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
v2.3.1
|
||||||
|
* yt-dlp 패키지명 변경 대응
|
||||||
|
|
||||||
v2.3.0
|
v2.3.0
|
||||||
* youtube-dlc를 yt-dlp로 변경
|
* youtube-dlc를 yt-dlp로 변경
|
||||||
youtube-dlc가 2개월 넘게 커밋이 없어서 youtube-dlc의 포크 프로젝트인 yt-dlp로 변경했습니다.
|
youtube-dlc가 2개월 넘게 커밋이 없어서 youtube-dlc의 포크 프로젝트인 yt-dlp로 변경했습니다.
|
||||||
|
|||||||
@@ -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.3.0", "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.3.1", "home": "https://github.com/joyfuI/youtube-dl", "category_name": "vod", "developer": "joyfuI"}
|
||||||
@@ -17,7 +17,7 @@ class LogicNormal(object):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def get_youtube_dl_package(index=None, import_pkg=False):
|
def get_youtube_dl_package(index=None, import_pkg=False):
|
||||||
packages = ['youtube-dl', 'yt-dlp']
|
packages = ['youtube-dl', 'yt-dlp']
|
||||||
import_name = ['youtube_dl', 'youtube_dlc']
|
import_name = ['youtube_dl', 'yt_dlp']
|
||||||
if import_pkg:
|
if import_pkg:
|
||||||
return import_name if index is None else import_name[int(index)]
|
return import_name if index is None else import_name[int(index)]
|
||||||
else:
|
else:
|
||||||
@@ -25,7 +25,12 @@ class LogicNormal(object):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_youtube_dl_version():
|
def get_youtube_dl_version():
|
||||||
return MyYoutubeDL.get_version()
|
try:
|
||||||
|
return MyYoutubeDL.get_version()
|
||||||
|
except Exception as e:
|
||||||
|
logger.error('Exception:%s', e)
|
||||||
|
logger.error(traceback.format_exc())
|
||||||
|
return '패키지 임포트 실패'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_default_filename():
|
def get_default_filename():
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ menu = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugin_info = {
|
plugin_info = {
|
||||||
'version': '2.3.0',
|
'version': '2.3.1',
|
||||||
'name': 'youtube-dl',
|
'name': 'youtube-dl',
|
||||||
'category_name': 'vod',
|
'category_name': 'vod',
|
||||||
'developer': 'joyfuI',
|
'developer': 'joyfuI',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
const url = document.getElementById('url').value;
|
const url = document.getElementById('url');
|
||||||
const preset = document.getElementById('preset');
|
const preset = document.getElementById('preset');
|
||||||
const format = document.getElementById('format');
|
const format = document.getElementById('format');
|
||||||
const postprocessor = document.getElementById('postprocessor');
|
const postprocessor = document.getElementById('postprocessor');
|
||||||
|
|||||||
Reference in New Issue
Block a user