feat: use curl_cffi to enable browser impersonation

This commit is contained in:
Benex254
2024-08-05 09:47:02 +03:00
parent 26d483c047
commit 8754fec2d1
6 changed files with 38 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ def write_search_results(
):
import textwrap
import requests
from curl_cffi import requests
for anime in search_results:
if not os.path.exists(SEARCH_RESULTS_CACHE):