From: Sergey M․ Date: Tue, 5 Mar 2019 18:27:22 +0000 (+0700) Subject: [facebook] Improve uploader extraction (closes #20250) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a551768acfd177e425f518c43a2992a50a2ff69f;p=youtube-dl [facebook] Improve uploader extraction (closes #20250) --- diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index 74954049d..789dd79d5 100644 --- a/youtube_dl/extractor/facebook.py +++ b/youtube_dl/extractor/facebook.py @@ -424,7 +424,7 @@ class FacebookIE(InfoExtractor): uploader = clean_html(get_element_by_id( 'fbPhotoPageAuthorName', webpage)) or self._search_regex( r'ownerName\s*:\s*"([^"]+)"', webpage, 'uploader', - fatal=False) or self._og_search_title(webpage, fatal=False) + default=None) or self._og_search_title(webpage, fatal=False) timestamp = int_or_none(self._search_regex( r']+data-utime=["\'](\d+)', webpage, 'timestamp', default=None))