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 parsing issues; unable to extract url #15891

Closed
pxssy opened this issue Mar 17, 2018 · 0 comments
Closed

Pornhub parsing issues; unable to extract url #15891

pxssy opened this issue Mar 17, 2018 · 0 comments

Comments

@pxssy
Copy link

@pxssy pxssy commented Mar 17, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.14. 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.03.14

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

C:\Windows\System32>yt --verbose https://www.pornhub.com/users/mia_bandini/videos/public
[debug] System config: []
[debug] User config: ['--output', 'E:\ytdl\%(uploader)s (%(uploader_id)s)\[%(upload_date)s] %(title)s (%(id)s).%(ext)s', '--ignore-errors', '--format', 'bestvideo+bestaudio/best', '--retries', '100', '--fragment-retries', '100', '--write-description', '--write-info-json', '--write-annotations', '--write-all-thumbnails', '--all-subs']
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.pornhub.com/users/mia_bandini/videos/public']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.03.14
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg N-86447-gfeb13ae, ffprobe N-86447-gfeb13ae
[debug] Proxy map: {}
[PornHubUserVideos] mia_bandini: Downloading page 1
[PornHubUserVideos] mia_bandini: Downloading page 2
[PornHubUserVideos] mia_bandini: Downloading page 3
[PornHubUserVideos] mia_bandini: Downloading page 4
[download] Downloading playlist: mia_bandini
[PornHubUserVideos] playlist mia_bandini: Collected 109 video ids (downloading 109 of them)
[download] Downloading video 1 of 109
[PornHub] ph5aac5a0fb8cb6: Downloading webpage
[PornHub] ph5aac5a0fb8cb6: Downloading webpage
ERROR: Unable to extract encoded url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 785, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\common.py", line 440, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\pornhub.py", line 141, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\common.py", line 796, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract encoded url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

[download] Downloading video 2 of 109
[PornHub] ph5aa9c2fa63114: Downloading webpage
[PornHub] ph5aa9c2fa63114: Downloading webpage
ERROR: Unable to extract encoded url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 785, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\common.py", line 440, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\pornhub.py", line 141, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\common.py", line 796, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract encoded url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
...


---



Tried downloading several videos, seems to be unable to parse. This is very weird because its a hit or miss currently; sometimes ctrl-c (abort) and retrying immediately makes it work.**

C:\Users\dst\AppData\Roaming\Build archive\ path does not exist on my pc. I'm not sure why its even trying to look for it.

Its seriously bothering me i've to rinse repeat this ctrl-c thing several times before it starts parsing properly. I'm unable to find anything on this issue.
@dstftw dstftw closed this in 79367a9 Jul 14, 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.