X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/6d835d4d6903cf5e18ad01844736929e06d16004..099764c0c91f4ad7db03d9347798f8619383ea7e:/youtube_dl/extractor/tapely.py?ds=sidebyside diff --git a/youtube_dl/extractor/tapely.py b/youtube_dl/extractor/tapely.py index 77e0562..283e113 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)