mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 13:10:15 +00:00
move ryd to avoid celery missing redis var
This commit is contained in:
parent
f62e75f343
commit
8ba9ced833
@ -291,7 +291,6 @@ class YoutubeVideo:
|
|||||||
ES_AUTH = CONFIG["application"]["es_auth"]
|
ES_AUTH = CONFIG["application"]["es_auth"]
|
||||||
CACHE_DIR = CONFIG["application"]["cache_dir"]
|
CACHE_DIR = CONFIG["application"]["cache_dir"]
|
||||||
VIDEOS = CONFIG["application"]["videos"]
|
VIDEOS = CONFIG["application"]["videos"]
|
||||||
RYD = CONFIG["downloads"]["integrate_ryd"]
|
|
||||||
|
|
||||||
def __init__(self, youtube_id):
|
def __init__(self, youtube_id):
|
||||||
self.youtube_id = youtube_id
|
self.youtube_id = youtube_id
|
||||||
@ -313,7 +312,7 @@ class YoutubeVideo:
|
|||||||
break
|
break
|
||||||
|
|
||||||
self.vid_dict = vid_dict
|
self.vid_dict = vid_dict
|
||||||
if self.RYD:
|
if self.CONFIG["downloads"]["integrate_ryd"]:
|
||||||
self.get_ryd_stats()
|
self.get_ryd_stats()
|
||||||
|
|
||||||
def get_youtubedl_vid_data(self):
|
def get_youtubedl_vid_data(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user