diff options
author | Naglis Jonaitis <njonaitis@gmail.com> | 2014-11-09 15:01:12 +0200 |
---|---|---|
committer | Naglis Jonaitis <njonaitis@gmail.com> | 2014-11-09 15:01:12 +0200 |
commit | 1a92e086a7cee10c4461cbb92b13fa0df195ada5 (patch) | |
tree | b647ab44d505401371943d9802ed83819a788d27 | |
parent | 519c73f267325d833441340afb088cbd651c8459 (diff) |
[tapely] Add Referer header (Closes #4138)
-rw-r--r-- | youtube_dl/extractor/tapely.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/tapely.py b/youtube_dl/extractor/tapely.py index 77e056242..283e11350 100644 --- a/youtube_dl/extractor/tapely.py +++ b/youtube_dl/extractor/tapely.py @@ -50,6 +50,7 @@ class TapelyIE(InfoExtractor): request = compat_urllib_request.Request(playlist_url) request.add_header('X-Requested-With', 'XMLHttpRequest') request.add_header('Accept', 'application/json') + request.add_header('Referer', url) playlist = self._download_json(request, display_id) |