@@ -1,7 +1,6 @@
import logging
import boto3
-import cachetools
import yt_dlp
from flask import Flask, request
@@ -15,7 +14,6 @@ def get_key(url: str) -> str:
return f"v2:{url}"
-@cachetools.cached(cache=cachetools.TTLCache(maxsize=100000, ttl=60 * 5))
def fetch_info(url):
logging.info(f"fetching: {url}")
with yt_dlp.YoutubeDL({