Ben hai 11 meses
pai
achega
7a1ff64e6a
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      app.py

+ 0 - 2
app.py

@@ -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({