diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-03-06 01:27:22 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-03-06 01:27:22 +0700 |
commit | a551768acfd177e425f518c43a2992a50a2ff69f (patch) | |
tree | 3e7aa3d37fdb6d8a4b857786133f660c5de490ea | |
parent | ee0ba927aac067dec533a618540e43ed3deebaba (diff) |
[facebook] Improve uploader extraction (closes #20250)
-rw-r--r-- | youtube_dl/extractor/facebook.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<abbr[^>]+data-utime=["\'](\d+)', webpage, 'timestamp', default=None)) |