From: Sergey M․ Date: Thu, 8 Oct 2015 14:22:08 +0000 (+0600) Subject: [4tube] Revert uploader regexes and make non fatal X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c677e49bd11c3dfada05de9fc1d4de04a577d70e;p=youtube-dl [4tube] Revert uploader regexes and make non fatal --- diff --git a/youtube_dl/extractor/fourtube.py b/youtube_dl/extractor/fourtube.py index 406387e57..cd7668f18 100644 --- a/youtube_dl/extractor/fourtube.py +++ b/youtube_dl/extractor/fourtube.py @@ -45,9 +45,11 @@ class FourTubeIE(InfoExtractor): 'uploadDate', webpage)) thumbnail = self._html_search_meta('thumbnailUrl', webpage) uploader_id = self._html_search_regex( - r'', webpage, 'uploader id') + r'', + webpage, 'uploader id', fatal=False) uploader = self._html_search_regex( - r'', webpage, 'uploader') + r'', + webpage, 'uploader', fatal=False) categories_html = self._search_regex( r'(?s)>\s*Categories / Tags\s*.*?',