not fatal for now.
This commit is contained in:
parent
3f8ec99719
commit
c8a0a6d791
@ -614,9 +614,12 @@ class FacebookAjax:
|
||||
|
||||
@property
|
||||
def page_likes(self):
|
||||
return parse_count(
|
||||
self._extractor._search_regex(r'\/span>([\d,]+) likes', self.hover, 'uploader_likes', default=None)
|
||||
)
|
||||
try:
|
||||
return parse_count(
|
||||
self._extractor._search_regex(r'\/span>([\d,]+) likes', self.hover, 'uploader_likes', default=None)
|
||||
)
|
||||
except:
|
||||
return None
|
||||
|
||||
def _get_request_url(self, page_id):
|
||||
return update_url_query(self.HOVER_URL_TEMPLATE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user