read viewCount when postViewCount is not available
This commit is contained in:
parent
ba3b2c535f
commit
8b50d43212
@ -461,6 +461,10 @@ class FacebookIE(InfoExtractor):
|
||||
r'\bpostViewCount\s*:\s*["\']([\d,.]+)', webpage, 'view count',
|
||||
default=None) or self._search_regex(
|
||||
r'\"postViewCount\"\s*:\s*(\d+)', tahoe_secondary_data, 'view count',
|
||||
default=None) or self._search_regex(
|
||||
r'\bviewCount\s*:\s*["\']([\d,.]+)', webpage, 'view count',
|
||||
default=None) or self._search_regex(
|
||||
r'\"viewCount\"\s*:\s*(\d+)', tahoe_secondary_data, 'view count',
|
||||
default=None)
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user