diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:07:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:07:51 +0000 |
commit | 3278ab0765a50bc8a4716ce5c0b3aa7015a3e3d5 (patch) | |
tree | 65228f3cad4dcb6dcf7138ebdc80329c966010d3 /yt_dlp/extractor/mediaklikk.py | |
parent | Releasing progress-linux version 2024.07.25-1~progress7.99u1. (diff) | |
download | yt-dlp-3278ab0765a50bc8a4716ce5c0b3aa7015a3e3d5.tar.xz yt-dlp-3278ab0765a50bc8a4716ce5c0b3aa7015a3e3d5.zip |
Merging upstream version 2024.08.01.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/mediaklikk.py')
-rw-r--r-- | yt_dlp/extractor/mediaklikk.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yt_dlp/extractor/mediaklikk.py b/yt_dlp/extractor/mediaklikk.py index bd1a27f..f513420 100644 --- a/yt_dlp/extractor/mediaklikk.py +++ b/yt_dlp/extractor/mediaklikk.py @@ -133,7 +133,9 @@ class MediaKlikkIE(InfoExtractor): r'<p+\b[^>]+\bclass="article_date">([^<]+)<', webpage, 'upload date', default=None)) player_data['video'] = player_data.pop('token') - player_page = self._download_webpage('https://player.mediaklikk.hu/playernew/player.php', video_id, query=player_data) + player_page = self._download_webpage( + 'https://player.mediaklikk.hu/playernew/player.php', video_id, + query=player_data, headers={'Referer': url}) player_json = self._search_json( r'\bpl\.setup\s*\(', player_page, 'player json', video_id, end_pattern=r'\);') playlist_url = traverse_obj( |