From 1b8805f8310fc472e627926d5c5a9446babd1cc3 Mon Sep 17 00:00:00 2001 From: lkho Date: Mon, 7 Sep 2020 21:03:39 +0800 Subject: [PATCH] [duboku] add referer header --- youtube_dl/extractor/duboku.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/duboku.py b/youtube_dl/extractor/duboku.py index 136ee392e3..3d3b24d80c 100644 --- a/youtube_dl/extractor/duboku.py +++ b/youtube_dl/extractor/duboku.py @@ -153,6 +153,7 @@ def _real_extract(self, url): 'episode_number': int_or_none(episode_id), 'episode_id': episode_id, 'formats': formats, + 'http_headers': {'Referer': 'https://www.duboku.co/static/player/videojs.html'} }