From e07848788b6a069a00dfe7b3f9a576dfbc4cb651 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sat, 29 Aug 2020 19:19:55 +1200 Subject: [PATCH] Remove unused declarations in index --- index.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/index.py b/index.py index e931b37..4d68530 100644 --- a/index.py +++ b/index.py @@ -17,18 +17,6 @@ from extractors.manifest import extract_manifest from extractors.search import extract_search from extractors.suggestions import extract_search_suggestions -ytdl_opts = { - "quiet": True, - "dump_single_json": True, - "playlist_items": "1-100", - "extract_flat": "in_playlist" -} -ytdl = youtube_dl.YoutubeDL(ytdl_opts) - -ytdl_save_opts = ytdl_opts.copy() -ytdl_save_opts["write_pages"] = True -ytdl_save = youtube_dl.YoutubeDL(ytdl_save_opts) - class Second(object): def __init__(self): self.video_cache = TTLCache(maxsize=50, ttl=300)