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

Can't download with long file path #24425

Closed
smege1001 opened this issue Mar 21, 2020 · 0 comments
Closed

Can't download with long file path #24425

smege1001 opened this issue Mar 21, 2020 · 0 comments
Labels

Comments

@smege1001
Copy link

@smege1001 smege1001 commented Mar 21, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.03.08
  • 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://youtube.com/watch?v=fslvLLKBkvg', '-o', '%(title)s/%(title)s-%(id)s.%(ext)s', '--write-info-json']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.03.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2020-03-15-c467328, ffprobe git-2020-03-15-c467328
[debug] Proxy map: {}
[youtube] fslvLLKBkvg: Downloading webpage
[youtube] fslvLLKBkvg: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video description metadata as JSON to: YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already\YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already-fslvLLKBkvg.info.json
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/dash/expire/1584841771/ei/y292XuDlL76gxN8PsbSCkA4/ip/105.155.64.18/id/7ec96f2cb28192f8/source/youtube/requiressl/yes/playback_host/r4---sn-p5h-g53e.googlevideo.com/mh/Z7/mm/31%2C29/mn/sn-p5h-g53e%2Csn-hgn7yn7e/ms/au%2Crdu/mv/m/mvi/3/pl/21/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/165000/vprv/1/mt/1584820060/fvip/5/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/ADKhkGMwRQIgAbyfPMeGoFonLsrAEgaCR4Fi-kWzDefotqfEpuyktqoCIQD909zHAcTdPioEHW9AiJwrnXksyycsu7E5m5fOSXBHag%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/ABSNjpQwRQIgCKAJT96CUb2XS7mTBC5s73XhQgYrnzZO3tBFNZQDjFMCIQDfFxEI4ppel3MGzEsAGqVucyqsKCsV3pnXcfaeufIwaQ%3D%3D'
[dashsegments] Total fragments: 7
[download] Destination: YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already\YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already-fslvLLKBkvg.f299.mp4
ERROR: unable to open for writing: [Errno 2] No such file or directory: "YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already\\YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already-fslvLLKBkvg.f299.mp4.part-Frag0.part"
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\downloader\http.py", line 250, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\utils.py", line 2046, in sanitize_open
FileNotFoundError: [Errno 2] No such file or directory: "YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already\\YandereDev's Cum Chalice in Beat Saber, welp looks like I won the discord ban speedrun already-fslvLLKBkvg.f299.mp4.part-Frag0.part"

Description

Trying to download the video with my own output template but getting this error:
FileNotFound: [Errno 2]

Downloading the video with youtube-dl's default output template seems to work though.

@dstftw dstftw closed this Mar 21, 2020
@dstftw dstftw added the duplicate label Mar 21, 2020
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.