Browse Source

[tnaflixnetwork] Fallback age limit to 18

totalwebcasting
Sergey M․ 9 years ago
parent
commit
8fab62482a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/tnaflix.py

+ 1
- 1
youtube_dl/extractor/tnaflix.py View File

@ -117,7 +117,7 @@ class TNAFlixNetworkBaseIE(InfoExtractor):
title = self._html_search_regex(
self._TITLE_REGEX, webpage, 'title') if self._TITLE_REGEX else self._og_search_title(webpage)
age_limit = self._rta_search(webpage)
age_limit = self._rta_search(webpage) or 18
duration = parse_duration(self._html_search_meta(
'duration', webpage, 'duration', default=None))


Loading…
Cancel
Save