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 only one possible resolution #22749

Closed
d969831eb8 opened this issue Oct 17, 2019 · 2 comments
Closed

Pornhub only one possible resolution #22749

d969831eb8 opened this issue Oct 17, 2019 · 2 comments

Comments

@d969831eb8
Copy link

@d969831eb8 d969831eb8 commented Oct 17, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.10.16
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

user@user:~/temp$ youtube-dl -F -v https://www.pornhub.com/view_video.php?viewkey=ph5ab8fbc61c4e4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '-v', 'https://www.pornhub.com/view_video.php?viewkey=ph5ab8fbc61c4e4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.16
[debug] Python version 3.6.8 (CPython) - Linux-4.15.0-65-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1
[debug] Proxy map: {}
[PornHub] ph5ab8fbc61c4e4: Downloading pc webpage
[PornHub] ph5ab8fbc61c4e4: Downloading tv webpage
[info] Available formats for ph5ab8fbc61c4e4:
format code  extension  resolution note
720p         mp4        720p       1500k

same video when downloading:

user@user:~/temp$ youtube-dl -v https://www.pornhub.com/view_video.php?viewkey=ph5ab8fbc61c4e4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.pornhub.com/view_video.php?viewkey=ph5ab8fbc61c4e4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.16
[debug] Python version 3.6.8 (CPython) - Linux-4.15.0-65-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1
[debug] Proxy map: {}
[PornHub] ph5ab8fbc61c4e4: Downloading pc webpage
[PornHub] ph5ab8fbc61c4e4: Downloading tv webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://dv.phncdn.com/videos/201803/26/159645572/720P_1500K_159645572.mp4?ttl=1571330553&ri=1433600&rs=1056&hash=ac64a40c1d9e9c8b76e9f0380daaa42f'
[download] Resuming download at byte 1047552
[download] Destination: VIXEN Adventurous Beauty Has Passionate Sex With A Power Couple-ph5ab8fbc61c4e4.mp4
[download]   2.9% of 69.91MiB at  1.13MiB/s ETA 01:00

another video available up to 480P:

user@user:~/temp$ youtube-dl -F -v https://www.pornhub.com/view_video.php?viewkey=b68337b14d514b9e7323
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '-v', 'https://www.pornhub.com/view_video.php?viewkey=b68337b14d514b9e7323']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.16
[debug] Python version 3.6.8 (CPython) - Linux-4.15.0-65-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1
[debug] Proxy map: {}
[PornHub] b68337b14d514b9e7323: Downloading pc webpage
[PornHub] b68337b14d514b9e7323: Downloading tv webpage
[info] Available formats for b68337b14d514b9e7323:
format code  extension  resolution note
0            mp4        unknown

Description

For the first video(available up to 1080P), only 720P is offered, when tested with another video up to 480P it download the right resolution, but -F is not working properly, it downloaded correctly several days ago with 1080P, knowing that Pornhub has recently made available 1080P without Premium, could this be the issue?

@tezJR
Copy link

@tezJR tezJR commented Oct 23, 2019

I think (but am not certain) 1080P has been available without Premium for longer than -F has output only one format, but Pornhub likely changed something that made youtube-dl somehow see only one.

@github-userx
Copy link

@github-userx github-userx commented Oct 28, 2019

Any update on this?

The pornhub extractor currently only detects & downloads only 720p even though a 1080p version exists (-f best only gets 720p).

Example: https://pornhub.com/view_video.php?viewkey=ph5d52f264a58a3 is available in 1080p for free/unregistered users but youtube-dl only downloads 720 and -F also only shows 720p (and not 1080p and not even 480p).

@ytdl-org ytdl-org locked and limited conversation to collaborators Oct 28, 2019
@dstftw dstftw closed this in f413472 Dec 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.