Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Default filename won't work when saving videos from long tweets #17924
Comments
|
Where is the issue that this is a duplicate of? I looked and couldn't find any |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
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:
Add the
-vflag 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 ```):Description of your issue, suggested solution and other information
When using youtube-dl to save a video attached to a tweet, the body of the tweet is used as the filename -- however, this can produce invalid filenames, at least on Windows. Using
-o myfilename.mp4is enough to work around this, but it would be nice if that weren't necessary :)Note that this problem doesn't occur with very very small videos—the bug only happens when it tries to create
.partfiles, not the actual video files themselves.In short:
youtube-dl.exe https://twitter.com/RavenTest/status/1053357651101470729WORKS(short video on long tweet)
youtube-dl.exe https://twitter.com/RavenTest/status/1053359277916721154WORKS(long video on short tweet)
youtube-dl.exe https://twitter.com/RavenTest/status/1053354601607561217does NOT work(long video on long tweet with default filename)
youtube-dl.exe -o test.mp4 https://twitter.com/RavenTest/status/1053354601607561217WORKS(long video on long tweet with manual filename)