1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

prioritize tahoe_data.secondary over webpage when extracting timestamp

This commit is contained in:
Avichai Cohen 2019-10-22 12:41:44 +03:00
parent 741de98eb2
commit 66634ec66b

View File

@ -456,9 +456,9 @@ class FacebookIE(InfoExtractor):
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,
'timestamp', default=None) or self._search_regex(
r'<abbr[^>]+data-utime=["\'](\d+)', webpage,
'timestamp', default=None))
uploader_id = self._search_regex(