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

[pornhub] Add support for search pages #15570

Closed
stepkinn opened this issue Feb 11, 2018 · 2 comments
Closed

[pornhub] Add support for search pages #15570

stepkinn opened this issue Feb 11, 2018 · 2 comments

Comments

@stepkinn
Copy link

@stepkinn stepkinn commented Feb 11, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.02.11

Before submitting an issue make sure you have:

  • 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

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other


/usr/local/bin/youtube-dl -v "https://pornhub.com/video/search?search=webcam&page=1"

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://pornhub.com/video/search?search=webcam&page=1']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.02.11
[debug] Python version 2.7.9 (CPython) - Linux-4.9.35-v7+-armv7l-with-debian-8.0
[debug] exe versions: none
[debug] Proxy map: {}
[generic] search?search=webcam&page=1: Requesting header
[redirect] Following redirect to https://www.pornhub.com/video/search?search=webcam&page=1
[generic] search?search=webcam&page=1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] search?search=webcam&page=1: Downloading webpage
[generic] search?search=webcam&page=1: Extracting information
[download] Downloading playlist: Webcam Porn Videos | Pornhub.com
[generic] playlist Webcam Porn Videos | Pornhub.com: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on u'data:"+o+";base64,"+E+"'
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 471, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 461, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1989, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 857, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 995, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 850, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1623, in process_video_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1896, in process_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1835, in dl
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 364, in download
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 340, in real_download
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 109, in establish_connection
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2199, in urlopen
File "/usr/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2476, in data_open
binascii.Error: Incorrect padding


Description of your issue, suggested solution and other information

Can't dl videos by search parameter.
Same problem with or without page=1 parameter
Same issue with channels (ex: https://pornhub.com/channels/povd)
Same issue with pornstar (ex: https://pornhub.com/pornstar/piper-perri)

It seems to be a global problem.

For information, download for users is ok (ex: https://pornhub.com/users/bryci/videos/public) but not if I want to dl with https://pornhub.com/users/bryci (without /videos/public).

@stepkinn
Copy link
Author

@stepkinn stepkinn commented Feb 11, 2018

I have edited this issue after updated to the last version (2018.02.11) which is online for an hour ;)

@stepkinn
Copy link
Author

@stepkinn stepkinn commented Feb 14, 2018

Nobody ? The problem persists with the last version.

@dstftw dstftw closed this Mar 18, 2019
@dstftw dstftw reopened this Mar 18, 2019
@ytdl-org ytdl-org deleted a comment from d34d0n Mar 18, 2019
@dstftw dstftw changed the title Pornhub - Problem to dl search videos [pornhub] Add support for search pages Mar 18, 2019
@dstftw dstftw closed this in 1f7a563 Jun 21, 2019
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
2 participants
You can’t perform that action at this time.