[unauthorizedtv] Fix flake8 warnings
This commit is contained in:
parent
bf09740f89
commit
31043fca5c
@ -3,10 +3,6 @@ from __future__ import unicode_literals
|
||||
|
||||
from .common import InfoExtractor
|
||||
|
||||
from ..compat import (
|
||||
compat_str,
|
||||
)
|
||||
|
||||
|
||||
class UnauthorizedTvIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?unauthorized\.tv/programs/.*?cid=(?P<id>\d+)'
|
||||
@ -23,8 +19,6 @@ class UnauthorizedTvIE(InfoExtractor):
|
||||
def _real_extract(self, url):
|
||||
video_id = self._match_id(url)
|
||||
|
||||
program = url[url.rfind("/")+1:url.find("?cid=")]
|
||||
|
||||
html = self._download_webpage(url, video_id)
|
||||
|
||||
csrf_token = self._html_search_meta('csrf-token', html, 'csrf token', default=None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user