|
|
@ -32,7 +32,7 @@ from ..utils import (
|
|
|
|
|
|
|
|
|
|
|
|
class PornHubBaseIE(InfoExtractor):
|
|
|
|
class PornHubBaseIE(InfoExtractor):
|
|
|
|
_NETRC_MACHINE = 'pornhub'
|
|
|
|
_NETRC_MACHINE = 'pornhub'
|
|
|
|
_PORNHUB_HOST_RE = r'(?:(?P<host>pornhub(?:premium)?\.(?:com|net|org))|pornhubthbh7ap3u\.onion)'
|
|
|
|
_PORNHUB_HOST_RE = r'(?:(?P<host>pornhub(?:premium)?\.(?:com|net|org))|pornhubvybmsymdol4iibwgwtkpwmeyd6luq2gxajgjzfjvotyt5zhyd\.onion)'
|
|
|
|
|
|
|
|
|
|
|
|
def _download_webpage_handle(self, *args, **kwargs):
|
|
|
|
def _download_webpage_handle(self, *args, **kwargs):
|
|
|
|
def dl(*args, **kwargs):
|
|
|
|
def dl(*args, **kwargs):
|
|
|
@ -247,7 +247,7 @@ class PornHubIE(PornHubBaseIE):
|
|
|
|
'url': 'https://www.pornhub.com/view_video.php?viewkey=ph5a9813bfa7156',
|
|
|
|
'url': 'https://www.pornhub.com/view_video.php?viewkey=ph5a9813bfa7156',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
'url': 'http://pornhubthbh7ap3u.onion/view_video.php?viewkey=ph5a9813bfa7156',
|
|
|
|
'url': 'http://pornhubvybmsymdol4iibwgwtkpwmeyd6luq2gxajgjzfjvotyt5zhyd.onion/view_video.php?viewkey=ph5a9813bfa7156',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
@ -561,7 +561,7 @@ class PornHubUserIE(PornHubPlaylistBaseIE):
|
|
|
|
'url': 'https://www.pornhubpremium.com/pornstar/lily-labeau',
|
|
|
|
'url': 'https://www.pornhubpremium.com/pornstar/lily-labeau',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
'url': 'https://pornhubthbh7ap3u.onion/model/zoe_ph',
|
|
|
|
'url': 'https://pornhubvybmsymdol4iibwgwtkpwmeyd6luq2gxajgjzfjvotyt5zhyd.onion/model/zoe_ph',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
@ -732,7 +732,7 @@ class PornHubPagedVideoListIE(PornHubPagedPlaylistBaseIE):
|
|
|
|
'url': 'https://www.pornhub.com/video/incategories/60fps-1/hd-porn',
|
|
|
|
'url': 'https://www.pornhub.com/video/incategories/60fps-1/hd-porn',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
'url': 'https://pornhubthbh7ap3u.onion/model/zoe_ph/videos',
|
|
|
|
'url': 'https://pornhubvybmsymdol4iibwgwtkpwmeyd6luq2gxajgjzfjvotyt5zhyd.onion/model/zoe_ph/videos',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
@ -755,7 +755,7 @@ class PornHubUserVideosUploadIE(PornHubPagedPlaylistBaseIE):
|
|
|
|
'url': 'https://www.pornhub.com/model/zoe_ph/videos/upload',
|
|
|
|
'url': 'https://www.pornhub.com/model/zoe_ph/videos/upload',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
'url': 'http://pornhubthbh7ap3u.onion/pornstar/jenny-blighe/videos/upload',
|
|
|
|
'url': 'http://pornhubvybmsymdol4iibwgwtkpwmeyd6luq2gxajgjzfjvotyt5zhyd.onion/pornstar/jenny-blighe/videos/upload',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
|