Merge pull request #127 from aviperes/facebook-publish-date
prioritize tahoe_data.secondary over webpage when extracting timestamp
This commit is contained in:
commit
dab5934117
@ -456,9 +456,9 @@ class FacebookIE(InfoExtractor):
|
|||||||
|
|
||||||
|
|
||||||
timestamp = int_or_none(self._search_regex(
|
timestamp = int_or_none(self._search_regex(
|
||||||
r'<abbr[^>]+data-utime=["\'](\d+)', webpage,
|
|
||||||
'timestamp', default=None) or self._search_regex(
|
|
||||||
r'data-utime=\\\"(\d+)\\\"', tahoe_data.secondary,
|
r'data-utime=\\\"(\d+)\\\"', tahoe_data.secondary,
|
||||||
|
'timestamp', default=None) or self._search_regex(
|
||||||
|
r'<abbr[^>]+data-utime=["\'](\d+)', webpage,
|
||||||
'timestamp', default=None))
|
'timestamp', default=None))
|
||||||
|
|
||||||
uploader_id = self._search_regex(
|
uploader_id = self._search_regex(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user