Ben 11 luni în urmă
părinte
comite
7a1ff64e6a
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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({