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

Trying to download a twitter video leads to a [Errno 36] File name too long error #23260

Closed
puchu opened this issue Nov 28, 2019 · 0 comments
Closed
Labels

Comments

@puchu
Copy link

@puchu puchu commented Nov 28, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.11.28
  • 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: ['-f', 'bestvideo[height<=?1080][fps<=?30]+bestaudio/best', '--no-mtime']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://twitter.com/robinblackmma/status/1199706560018075650']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 3.6.9 (CPython) - Linux-5.3.13-gentoo-x86_64-Intel-R-_Core-TM-_i5-2540M_CPU_@_2.60GHz-with-gentoo-2.6
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[twitter] 1199706560018075650: Downloading guest token
[twitter] 1199706560018075650: Downloading JSON metadata
[twitter] 1199706560018075650: Downloading m3u8 information
[debug] Invoking downloader on 'https://video.twimg.com/ext_tw_video/1199705218994323457/pu/vid/720x720/F9Sl3hqwoDZNqsbB.mp4?tag=10'
ERROR: unable to open for writing: [Errno 36] File name too long: 'Robin Black - One Minute #BREAKDOWN - InterGender Fighting Championships! Deirdre Danis vs Beta Steve!  Behold the Awesome Power of Skill Development.  Enjoy The Hostilities My Friends.   @ufc @eddiebravo @dillondanis @BellatorMMA @joerogan @Garry_Tonon @RenzoGracieBJJ @danawhite @John_Kavanagh-1199706560018075650.mp4.part'
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/youtube_dl/downloader/http.py", line 250, in download
    ctx.tmpfilename, ctx.open_mode)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/utils.py", line 2045, in sanitize_open
    stream = open(encodeFilename(filename), open_mode)
OSError: [Errno 36] File name too long: 'Robin Black - One Minute #BREAKDOWN - InterGender Fighting Championships! Deirdre Danis vs Beta Steve!  Behold the Awesome Power of Skill Development.  Enjoy The Hostilities My Friends.   @ufc @eddiebravo @dillondanis @BellatorMMA @joerogan @Garry_Tonon @RenzoGracieBJJ @danawhite @John_Kavanagh-1199706560018075650.mp4.part'

Description

Trying to download this twitter video: https://twitter.com/robinblackmma/status/1199706560018075650

leads to a [Errno 36] File name too long error

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.