1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-01 10:20:18 +08:00

print exception.

This commit is contained in:
Avi Peretz
2019-06-23 09:57:17 +03:00
Unverified
parent c8a0a6d791
commit 92e5646145
+3 -3
View File
@@ -618,9 +618,9 @@ class FacebookAjax:
return parse_count(
self._extractor._search_regex(r'\/span>([\d,]+) likes', self.hover, 'uploader_likes', default=None)
)
except:
return None
except Exception as e:
self._extractor.report_warning(self._page_id + str(e))
def _get_request_url(self, page_id):
return update_url_query(self.HOVER_URL_TEMPLATE,
{