[unauthorizedtv] Require csrf-token
This commit is contained in:
parent
31043fca5c
commit
40505e87ee
@ -21,7 +21,7 @@ class UnauthorizedTvIE(InfoExtractor):
|
||||
|
||||
html = self._download_webpage(url, video_id)
|
||||
|
||||
csrf_token = self._html_search_meta('csrf-token', html, 'csrf token', default=None)
|
||||
csrf_token = self._html_search_meta('csrf-token', html, 'csrf token', fatal=True)
|
||||
|
||||
headers = {
|
||||
'Referer': url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user