mirror of
https://github.com/Andre-Bzk/Rezept0r.git
synced 2026-11-15 09:33:05 +01:00
fix: enable yt-dlp browser impersonation for TikTok
TikTok now answers requests without a real browser TLS fingerprint with a page yt-dlp cannot parse, so every TikTok extraction failed at the metadata step. yt-dlp can impersonate browsers, but only when curl_cffi is installed on the interpreter it runs on, which the image never provided.
This commit is contained in:
@@ -13,3 +13,6 @@ lxml==6.1.1
|
||||
openai==2.46.0
|
||||
python-dotenv==1.2.2
|
||||
aiofiles==25.1.0
|
||||
# Not imported by the app: the yt-dlp binary runs on this interpreter and needs
|
||||
# curl_cffi for browser impersonation, without which TikTok rejects requests
|
||||
curl_cffi==0.16.3
|
||||
|
||||
Reference in New Issue
Block a user