썸네일 다운로드 기능(+API) 추가
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
<table class="table table-sm tableRowHover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">IDX</th>
|
||||
<th style="width: 4%">IDX</th>
|
||||
<th style="width: 8%">Plugin</th>
|
||||
<th style="width: 10%">시작시간</th>
|
||||
<th style="width: 10%">타입</th>
|
||||
<th style="width: 28%">제목</th>
|
||||
<th style="width: 14%">타입</th>
|
||||
<th style="width: 29%">제목</th>
|
||||
<th style="width: 8%">상태</th>
|
||||
<th style="width: 15%">진행률</th>
|
||||
<th style="width: 11%">진행률</th>
|
||||
<th style="width: 8%">진행시간</th>
|
||||
<th style="width: 8%">Action</th>
|
||||
</tr>
|
||||
|
||||
17
templates/youtube-dl_thumbnail.html
Normal file
17
templates/youtube-dl_thumbnail.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
<form id="download">
|
||||
{{ macros.setting_input_text('url', 'URL', placeholder='http:// 주소', desc='유튜브, 네이버TV 등 동영상 주소') }}
|
||||
{{ macros.setting_input_text('filename', '파일명', value=arg['filename'], desc='템플릿 규칙은 https://github.com/ytdl-org/youtube-dl/#output-template 참고') }}
|
||||
{{ macros.setting_checkbox('all_thumbnails', '모든 썸네일 다운로드', value='False') }}
|
||||
{{ macros.setting_button([['download_btn', '다운로드']]) }}
|
||||
</form>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
const package_name = '{{ arg["package_name"] }}';
|
||||
</script>
|
||||
<script src="{{ url_for('.static', filename='%s.js' % arg['template_name']) }}"></script>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user