[unauthorizedtv] Require csrf-token

This commit is contained in:
Kevin G 2019-06-09 03:20:27 -07:00
parent 31043fca5c
commit 40505e87ee

View File

@ -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,