0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[tnaflixnetwork] Fallback age limit to 18

This commit is contained in:
Sergey M․ 2016-02-27 16:59:10 +06:00
parent d6e9c2706f
commit 8fab62482a

View file

@ -117,7 +117,7 @@ def extract_video_url(vl):
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))