mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 00:29:40 +00:00
remove unused vid thumb blur
This commit is contained in:
@@ -110,10 +110,6 @@
|
|||||||
"type": "text",
|
"type": "text",
|
||||||
"index": false
|
"index": false
|
||||||
},
|
},
|
||||||
"vid_thumb_base64": {
|
|
||||||
"type": "text",
|
|
||||||
"index": false
|
|
||||||
},
|
|
||||||
"date_downloaded": {
|
"date_downloaded": {
|
||||||
"type": "date",
|
"type": "date",
|
||||||
"format": "epoch_second"
|
"format": "epoch_second"
|
||||||
|
|||||||
@@ -174,15 +174,12 @@ class YoutubeVideo(YouTubeItem, YoutubeSubtitle):
|
|||||||
# extract
|
# extract
|
||||||
self.channel_id = self.youtube_meta["channel_id"]
|
self.channel_id = self.youtube_meta["channel_id"]
|
||||||
last_refresh = int(datetime.now().timestamp())
|
last_refresh = int(datetime.now().timestamp())
|
||||||
# base64_blur = ThumbManager().get_base64_blur(self.youtube_id)
|
|
||||||
base64_blur = False
|
|
||||||
# build json_data basics
|
# build json_data basics
|
||||||
self.json_data = {
|
self.json_data = {
|
||||||
"title": self.youtube_meta["title"],
|
"title": self.youtube_meta["title"],
|
||||||
"description": self.youtube_meta.get("description", ""),
|
"description": self.youtube_meta.get("description", ""),
|
||||||
"category": self.youtube_meta.get("categories", []),
|
"category": self.youtube_meta.get("categories", []),
|
||||||
"vid_thumb_url": self.youtube_meta["thumbnail"],
|
"vid_thumb_url": self.youtube_meta["thumbnail"],
|
||||||
"vid_thumb_base64": base64_blur,
|
|
||||||
"tags": self.youtube_meta.get("tags", []),
|
"tags": self.youtube_meta.get("tags", []),
|
||||||
"published": self._build_published(),
|
"published": self._build_published(),
|
||||||
"vid_last_refresh": last_refresh,
|
"vid_last_refresh": last_refresh,
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ export type VideoType = {
|
|||||||
tags: string[];
|
tags: string[];
|
||||||
title: string;
|
title: string;
|
||||||
vid_last_refresh: string;
|
vid_last_refresh: string;
|
||||||
vid_thumb_base64: boolean;
|
|
||||||
vid_thumb_url: string;
|
vid_thumb_url: string;
|
||||||
vid_type: string;
|
vid_type: string;
|
||||||
youtube_id: string;
|
youtube_id: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user