diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-27 16:59:10 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-27 16:59:10 +0600 |
commit | 8fab62482abf8e75f2dd98fedbe95d81ce767382 (patch) | |
tree | 934617e593185cb851c90f76a2b92aa0e443efbb /youtube_dl/extractor/tnaflix.py | |
parent | d6e9c2706fd803b5963fba47b168b6bccc063667 (diff) |
[tnaflixnetwork] Fallback age limit to 18
Diffstat (limited to 'youtube_dl/extractor/tnaflix.py')
-rw-r--r-- | youtube_dl/extractor/tnaflix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tnaflix.py b/youtube_dl/extractor/tnaflix.py index 547d83d09..e8c272704 100644 --- a/youtube_dl/extractor/tnaflix.py +++ b/youtube_dl/extractor/tnaflix.py @@ -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)) |