parent
e0fd95737d
commit
b69fd25c25
30 changed files with 109 additions and 68 deletions
|
|
@ -258,8 +258,7 @@ class PornHubIE(PornHubBaseIE):
|
|||
webpage)
|
||||
|
||||
def _extract_count(self, pattern, webpage, name):
|
||||
return str_to_int(self._search_regex(
|
||||
pattern, webpage, '%s count' % name, fatal=False))
|
||||
return str_to_int(self._search_regex(pattern, webpage, '%s count' % name, default=None))
|
||||
|
||||
def _real_extract(self, url):
|
||||
mobj = self._match_valid_url(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue