mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-28 21:00:11 +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"]
|
||||
CACHE_DIR = CONFIG["application"]["cache_dir"]
|
||||
VIDEOS = CONFIG["application"]["videos"]
|
||||
RYD = CONFIG["downloads"]["integrate_ryd"]
|
||||
|
||||
def __init__(self, youtube_id):
|
||||
self.youtube_id = youtube_id
|
||||
@ -313,7 +312,7 @@ class YoutubeVideo:
|
||||
break
|
||||
|
||||
self.vid_dict = vid_dict
|
||||
if self.RYD:
|
||||
if self.CONFIG["downloads"]["integrate_ryd"]:
|
||||
self.get_ryd_stats()
|
||||
|
||||
def get_youtubedl_vid_data(self):
|
||||
|
Loading…
Reference in New Issue
Block a user