Browse Source

[tnaflix] Modernize

totalwebcasting
Sergey M․ 10 years ago
parent
commit
e52c0bd0eb
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      youtube_dl/extractor/tnaflix.py

+ 2
- 3
youtube_dl/extractor/tnaflix.py View File

@ -51,9 +51,8 @@ class TNAFlixIE(InfoExtractor):
age_limit = self._rta_search(webpage)
duration = self._html_search_meta('duration', webpage, 'duration', default=None)
if duration:
duration = parse_duration(duration[1:])
duration = parse_duration(self._html_search_meta(
'duration', webpage, 'duration', default=None))
cfg_url = self._proto_relative_url(self._html_search_regex(
self._CONFIG_REGEX, webpage, 'flashvars.config'), 'http:')


Loading…
Cancel
Save