commit a551768acfd177e425f518c43a2992a50a2ff69f
parent ee0ba927aac067dec533a618540e43ed3deebaba
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed,  6 Mar 2019 01:27:22 +0700

[facebook] Improve uploader extraction (closes #20250)

Diffstat:
Myoutube_dl/extractor/facebook.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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'<abbr[^>]+data-utime=["\'](\d+)', webpage, 'timestamp', default=None))