diff options
author | haobinliang <haobinliang@users.noreply.github.com> | 2022-07-30 11:57:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-30 16:27:54 +0530 |
commit | 7f71cee020c429983d75a3937cd2efbb797e4d72 (patch) | |
tree | 2e1753dd280464c07c96f458c6c0c122ff8de00c | |
parent | db5f24820426323f797da206fa8fa1e5b5d7ffe1 (diff) | |
download | hypervideo-pre-7f71cee020c429983d75a3937cd2efbb797e4d72.tar.lz hypervideo-pre-7f71cee020c429983d75a3937cd2efbb797e4d72.tar.xz hypervideo-pre-7f71cee020c429983d75a3937cd2efbb797e4d72.zip |
[extractor/cloudflarestream] Fix video_id padding (#4384)
Fixes https://github.com/ytdl-org/youtube-dl/issues/26640
Authored by: haobinliang
-rw-r--r-- | yt_dlp/extractor/cloudflarestream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/cloudflarestream.py b/yt_dlp/extractor/cloudflarestream.py index 0333d5def..0a6073403 100644 --- a/yt_dlp/extractor/cloudflarestream.py +++ b/yt_dlp/extractor/cloudflarestream.py @@ -51,7 +51,7 @@ class CloudflareStreamIE(InfoExtractor): base_url = 'https://%s/%s/' % (domain, video_id) if '.' in video_id: video_id = self._parse_json(base64.urlsafe_b64decode( - video_id.split('.')[1]), video_id)['sub'] + video_id.split('.')[1] + '==='), video_id)['sub'] manifest_base_url = base_url + 'manifest/video.' formats = self._extract_m3u8_formats( |