1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 20:07:17 +08:00

add page id.

This commit is contained in:
Avi Peretz 2020-03-10 23:52:01 +02:00
parent 75f904e579
commit 5dadd9c357

View File

@ -477,7 +477,8 @@ class FacebookIE(InfoExtractor):
r'ownerid:"([\d]+)', webpage,
'uploader_id', default=None) or self._search_regex(
r'[\'\"]ownerid[\'\"]\s*:\s*[\'\"](\d+)[\'\"]', tahoe_data.secondary,
'uploader_id', fatal=False)
'uploader_id', default=None) or \
self._search_regex(r'\\\"page_id\\\"\s*:\s*\\\"(\d+)\\\"', tahoe_data.secondary, 'uploader_id', fatal=False)
thumbnail = self._html_search_meta(['og:image', 'twitter:image'], webpage)