1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-23 20:09:57 +08:00

[unauthorizedtv] Require csrf-token

This commit is contained in:
Kevin G
2019-06-09 03:20:27 -07:00
Unverified
parent 48456eea51
commit e8a49bd0b2
+1 -1
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,