<tr><th>description:</th><td>{{video_data.description}}</td></tr>
<tr><th>duration:</th><td>{{video_data.duration}}</td></tr>
<tr><th>definition:</th><td>{{video_data.definition}}</td></tr>
-<tr><th>YouTube ID:</th><td>{{video_data.id_}} (<a href="{{youtube_prefix}}{{video_data.id_}}">watch</a>)</td></tr>
+<tr><th>YouTube ID:</th><td>{{video_data.id_}}</td></tr>
<tr><th>download:</th><td>{% if is_temp %}working on it{% elif file_path %}<a href="/{{page_names.file}}/{{file_digest}}">{{file_path}}</a>{% else %}<a href="/{{page_names.download}}/{{video_data.id_}}">please do</a>{% endif %}</td></tr>
<tr>
<th>linked queries:</th>
from ytplom.db import Hash, DbConn
from ytplom.misc import (
FilterStr, FlagName, QueryId, QueryText, TagSet, YoutubeId,
- FILE_FLAGS, PATH_THUMBNAILS, YOUTUBE_URL_PREFIX,
- ensure_expected_dirs,
+ FILE_FLAGS, PATH_THUMBNAILS, ensure_expected_dirs,
Config, DownloadsManager, Player, QuotaLog, VideoFile, YoutubeQuery,
YoutubeVideo
)
'is_temp': video_id in self.server.downloads.ids_unfinished,
'file_digest': file_digest,
'file_path': file_path,
- 'youtube_prefix': YOUTUBE_URL_PREFIX,
'queries': linked_queries})
def _send_yt_queries_index_and_search(self) -> None: