kopia lustrzana https://github.com/yt-dlp/yt-dlp
[tapely] Add Referer header (Closes #4138)
rodzic
519c73f267
commit
1a92e086a7
|
@ -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)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue