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