mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Feedback
This commit is contained in:
parent
a052d5a81d
commit
a571ae79d5
@ -231,7 +231,6 @@ class PornHubIE(PornHubBaseIE):
|
|||||||
|
|
||||||
self._set_cookie(host, 'age_verified', '1')
|
self._set_cookie(host, 'age_verified', '1')
|
||||||
|
|
||||||
# Authenticate, if required
|
|
||||||
self._login_if_required(host)
|
self._login_if_required(host)
|
||||||
|
|
||||||
def dl_webpage(platform):
|
def dl_webpage(platform):
|
||||||
@ -454,7 +453,6 @@ class PornHubPlaylistBaseIE(PornHubBaseIE):
|
|||||||
host = mobj.group('host')
|
host = mobj.group('host')
|
||||||
playlist_id = mobj.group('id')
|
playlist_id = mobj.group('id')
|
||||||
|
|
||||||
# Authenticate, if required
|
|
||||||
self._login_if_required(host)
|
self._login_if_required(host)
|
||||||
|
|
||||||
webpage = self._download_webpage(url, playlist_id)
|
webpage = self._download_webpage(url, playlist_id)
|
||||||
@ -500,7 +498,6 @@ class PornHubUserIE(PornHubPlaylistBaseIE):
|
|||||||
host = mobj.group('host')
|
host = mobj.group('host')
|
||||||
user_id = mobj.group('id')
|
user_id = mobj.group('id')
|
||||||
|
|
||||||
# Authenticate, if required
|
|
||||||
self._login_if_required(host)
|
self._login_if_required(host)
|
||||||
|
|
||||||
return self.url_result(
|
return self.url_result(
|
||||||
@ -523,7 +520,6 @@ class PornHubPagedPlaylistBaseIE(PornHubPlaylistBaseIE):
|
|||||||
host = mobj.group('host')
|
host = mobj.group('host')
|
||||||
item_id = mobj.group('id')
|
item_id = mobj.group('id')
|
||||||
|
|
||||||
# Authenticate, if required
|
|
||||||
self._login_if_required(host)
|
self._login_if_required(host)
|
||||||
|
|
||||||
page = int_or_none(self._search_regex(
|
page = int_or_none(self._search_regex(
|
||||||
|
Loading…
Reference in New Issue
Block a user