projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0ba92
)
[facebook] Improve uploader extraction (closes #20250)
author
Sergey M․
<dstftw@gmail.com>
Tue, 5 Mar 2019 18:27:22 +0000
(
01:27
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 5 Mar 2019 18:27:22 +0000
(
01:27
+0700)
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index 74954049dc79e6e9d0682a73550c52a4d010a06d..789dd79d5474ea8f7c9d18df244c686076e3e646 100644
(file)
--- 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=Fals
e) or self._og_search_title(webpage, fatal=False)
+
default=Non
e) or self._og_search_title(webpage, fatal=False)
timestamp = int_or_none(self._search_regex(
r'<abbr[^>]+data-utime=["\'](\d+)', webpage,
'timestamp', default=None))