Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PornHubUserVideosIE: only www subdomain works, even though others exist #16165

Closed
PotcFdk opened this issue Apr 11, 2018 · 0 comments
Closed

PornHubUserVideosIE: only www subdomain works, even though others exist #16165

PotcFdk opened this issue Apr 11, 2018 · 0 comments

Comments

@PotcFdk
Copy link

@PotcFdk PotcFdk commented Apr 11, 2018

The PornHub user video extractor only matches //pornhub.com and //www.pornhub.com: https://github.com/rg3/youtube-dl/blob/7399ca1f80e59142c2c000670e18e67f05cfb124/youtube_dl/extractor/pornhub.py#L279

However, there are also other subdomains that exist and that PornHub actually redirects to, resulting in incompatible URLs being passed to youtube-dl.
To try this out, take any URL in the form https://pornhub.com/users/USERNAME/videos/public and change it to make it point to a language-specific subdomain, for example https://de.pornhub.com/users/USERNAME/videos/public - while the former will work in youtube-dl, the latter will not.

@dstftw dstftw closed this in 92ded33 Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.