From 90dac4252245de5087a69a1d0b0e619da80f7255 Mon Sep 17 00:00:00 2001 From: girst Date: Fri, 30 Jul 2021 11:34:32 +0200 Subject: [PATCH] use same embedder-url as yt-dlp https://github.com/yt-dlp/yt-dlp/commit/5dcbfdc3cdcfc1f8d70515197d1f6dfcbb28251a --- app/common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/common.py b/app/common/common.py index 5005e1b..2c11f68 100644 --- a/app/common/common.py +++ b/app/common/common.py @@ -222,7 +222,7 @@ def get_video_info(video_id, sts=0, algo="", _embed=True): 'clientVersion': f'2.{today}.01.01', **({'clientScreen': 'EMBED'} if _embed else {}), }, - 'thirdParty': {'embedUrl': 'http://example.com/'} + 'thirdParty': {'embedUrl': 'https://google.com'} }, 'playbackContext': {'contentPlaybackContext': {'signatureTimestamp': sts}} }, cookies=cookies) -- 2.39.3