From: Sergey M․ Date: Sat, 27 Feb 2016 10:59:10 +0000 (+0600) Subject: [tnaflixnetwork] Fallback age limit to 18 X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8fab62482abf8e75f2dd98fedbe95d81ce767382;p=youtube-dl [tnaflixnetwork] Fallback age limit to 18 --- 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))