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.
[bug] archive file not being created when initially using youtube-dl library #10114
Comments
|
Python doesn't automatically transform ~ into /home/xyz. You need |
I maintain tubeup, which uses youtube-dl to upload videos to the Internet Archive.
I've specified a location for the download file and video output location:
This is the result:
The folders exist to it, but the file doesn't exist and isn't created by youtube-dl when initially run using the library, but the script creates it if I recall. Youtube-dl also makes the folder for downloads if there isn't one. But for some reason, the archive file must pre-exist for it to write to it and won't be created if there is none.
What I'm looking for is a rule where: If theres no archive file in the specified location, create one. If there is one, append to it.
I'd just like the library to create a file is there isn't one already in place is all.
Edit:
It also doesn't use it when I create it.