1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 16:20:09 +08:00
This commit is contained in:
Avi Peretz 2020-03-10 17:23:21 +02:00
parent 68e71dfc24
commit b8c5085878

View File

@ -455,17 +455,6 @@ class FacebookIE(InfoExtractor):
else:
video_title = 'Facebook video #%s' % video_id
def _lowercase_escape(s):
if s:
return lowercase_escape(s)
uploader = clean_html(get_element_by_id(
'fbPhotoPageAuthorName', webpage)) or self._search_regex(
r'ownerName\s*:\s*"([^"]+)"', webpage, 'uploader',default=None) or \
_lowercase_escape(self._search_regex(
r'\"ownerName\":"(.+?)"', tahoe_data.secondary,
'uploader_id', fatal=False)) or self._og_search_title(webpage, default=None)
timestamp = int_or_none(self._search_regex(
r'data-utime=\\\"(\d+)\\\"', tahoe_data.secondary,