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

[PornHubUserVideos] download fails with "ERROR: unable to download video data: [WinError 2] The system cannot find the file specified" #16957

Closed
mjolnir870 opened this issue Jul 12, 2018 · 1 comment
Labels

Comments

@mjolnir870
Copy link

@mjolnir870 mjolnir870 commented Jul 12, 2018

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

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

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:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: ['--no-mtime', '--no-playlist', '--playlist-reverse', '-i', '-w']
[debug] Command-line args: ['--config-location', 'C:\\Users\\USERNAME\\Scripts\\youtube-dl-ondemand.conf', '--ffmpeg-location', 'C:\\Users\\USERNAME\\Apps\\ffmpeg\\bin\\ffmpeg.exe', '--download-archive', 'V:\\test\\~youtube-dl_history.txt', '-f', 'bestvideo+bestaudio/best', '--write-thumbnail', '--external-downloader', 'C:\\Users\\USERNAME\\Apps\\aria2\\64bit\\aria2c.exe', '--external-downloader-args', '--file-allocation=none -x 4 -k 1M', '-o', 'V:\\test\\%(title)s_%(id)s.%(ext)s', '-v', 'https://www.pornhub.com/users/karmarxxx/videos/public']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.07.10
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg N-90960-gbcff983dc3, ffprobe N-90960-gbcff983dc3
[debug] Proxy map: {}
[PornHubUserVideos] karmarxxx: Downloading page 1
[PornHubUserVideos] karmarxxx: Downloading page 2
[PornHubUserVideos] karmarxxx: Downloading page 3
[download] Downloading playlist: karmarxxx
[PornHubUserVideos] playlist karmarxxx: Collected 71 video ids (downloading 71 of them)

...

[download] Downloading video 5 of 71
[PornHub] ph5ae90819c0796: Downloading webpage
[PornHub] ph5ae90819c0796: Downloading webpage
[PornHub] ph5ae90819c0796: Downloading thumbnail ...
[PornHub] ph5ae90819c0796: Writing thumbnail to: V:\test\Passionate Hotel Sex_ph5ae90819c0796.jpg
[debug] Invoking downloader on 'https://dv.phncdn.com/videos/201805/02/164380481/720P_1500K_164380481.mp4?ttl=1531422605&ri=2764800&rs=776&hash=9749c17252dda872e697250ac7cb5d33'
[download] Destination: V:\test\Passionate Hotel Sex_ph5ae90819c0796.mp4
[debug] aria2c.exe command line: "C:\Users\USERNAME\Apps\aria2\64bit\aria2c.exe" -c "--file-allocation=none" -x 4 -k 1M --dir "V:\test" --out "Passionate Hotel Sex_ph5ae90819c0796.mp4.part" --header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)" --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header "Accept-Encoding: gzip, deflate" --header "Accept-Language: en-us,en;q=0.5" --header "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" "--check-certificate=true" -- "https://dv.phncdn.com/videos/201805/02/164380481/720P_1500K_164380481.mp4?ttl=1531422605&ri=2764800&rs=776&hash=9749c17252dda872e697250ac7cb5d33"
ERROR: unable to download video data: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 1908, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 1847, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\downloader\external.py", line 35, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\downloader\external.py", line 106, in _call_downloader
  File "C:\Python\Python34\lib\subprocess.py", line 859, in __init__
  File "C:\Python\Python34\lib\subprocess.py", line 1114, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

...

[download] Downloading video 71 of 71
[PornHub] ph5ae90cff036d4: Downloading webpage
[PornHub] ph5ae90cff036d4: Downloading webpage
[PornHub] ph5ae90cff036d4: Thumbnail is already present
[debug] Invoking downloader on 'https://dv.phncdn.com/videos/201805/02/164382231/720P_1500K_164382231.mp4?ttl=1531422852&ri=1843200&rs=1600&hash=9992ed685fb54bc0514ad9684c15e38f'
[download] Destination: V:\test\Karma Rx Rough Sex Huge Creampie_ph5ae90cff036d4.mp4
[debug] aria2c.exe command line: "C:\Users\USERNAME\Apps\aria2\64bit\aria2c.exe" -c
 "--file-allocation=none" -x 4 -k 1M --dir "V:\test" --out "Karma Rx Rough Sex Huge Creampie_ph5ae90cff036d4.mp4.part" --header "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)" --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header "Accept-Encoding: gzip, deflate" --header "Accept-Language: en-us,en;q=0.5" --header "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" "--check-certificate=true" -- "https://dv.phncdn.com/videos/201805/02/164382231/720P_1500K_164382231.mp4?ttl=1531422852&ri=1843200&rs=1600&hash=9992ed685fb54bc0514ad9684c15e38f"
ERROR: unable to download video data: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 1908, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 1847, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\downloader\external.py", line 35, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\downloader\external.py", line 106, in _call_downloader
  File "C:\Python\Python34\lib\subprocess.py", line 859, in __init__
  File "C:\Python\Python34\lib\subprocess.py", line 1114, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

[download] Finished downloading playlist: karmarxxx

Description of your issue, suggested solution and other information

Trying to download the following link: https://www.pornhub.com/users/karmarxxx/videos/public.
Test account:
u: testforytdl
p: ger7bra1

The test account can view the user page as normal in the browser, and the videos can be viewed. Trying to download the PornHubUserVideos page fails with the above error though.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 12, 2018

Wrong external downloader path.

@dstftw dstftw closed this Jul 12, 2018
@dstftw dstftw added the invalid label Jul 12, 2018
@sunnyday2006 sunnyday2006 mentioned this issue Jun 15, 2019
2 of 6 tasks complete
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.