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

support pornhub.net (pornhub.com is blocked) #18359

Closed
4 tasks done
mrghosh opened this issue Dec 1, 2018 · 1 comment
Closed
4 tasks done

support pornhub.net (pornhub.com is blocked) #18359

mrghosh opened this issue Dec 1, 2018 · 1 comment

Comments

@mrghosh
Copy link

mrghosh commented Dec 1, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.11.23
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

Some Indian ISPs have blocked access to pornhub.com due to court order. Pornhub started another domain pornhub.net to bypass the restriction. I am getting the following error while trying to download a video.

ERROR: Unable to download webpage: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> (caused by URLError(TimeoutError(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond', None, 10060, None),))

I guess that it is due to the fact that youtube-dl is trying to connect to .com domain. Can you please add support for .net domain? Thank you :)

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.pornhub.net/view_video.php?viewkey=ph5bfc37648f8b4']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.11.23
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-82597-gd316b21, ffprobe N-82597-gd316b21
[debug] Proxy map: {}
[PornHub] ph5bfc37648f8b4: Downloading pc webpage
ERROR: Unable to download webpage: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> (caused by URLError(TimeoutError(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond', None, 10060, None),))
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6bh3thhm\build\youtube_dl\extractor\common.py", line 605, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6bh3thhm\build\youtube_dl\YoutubeDL.py", line 2211, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6bh3thhm\build\youtube_dl\utils.py", line 983, in http_open
File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open

@dstftw dstftw closed this as completed in 3430ff9 Dec 1, 2018
@mrghosh
Copy link
Author

mrghosh commented Dec 1, 2018

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant