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.
exporting %(uploader)s and %(uploader_id)s as bash variables #9185
Comments
|
This does not make any sense since you may end up with different path for different videos thus having multiple archive files. |
|
I want to download channel "X" into folder uploader{uploader_id}/ and put the archive.txt file inside of uploader{uploader_id}/ (i.e. at uploader{uploader_id}/archive.txt ) |
|
Again: techically in general |
|
How would the uploader/uploader_id vars differ if all of the videos on a channel are uploaded by the same person? |
|
Also, see this feature request: #9201 |
Generic playlist may contain arbitrary videos not only from single uploader. |
|
Oh. Still, there should be a way to put the archive file with the downloaded videos. I've got this script (https://github.com/TheSqrtMinus1/download-youtube-channel-hq) working, but it's a really ugly workaround and I believe that there's a better way. |
|
In any case it should be achieved not via template based download archive since it otherwise will introduce total mess when one will start using it with heterogeneous playlists/videos. |
Please follow the guide below
xinto all the boxes [x] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.04.13. 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
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Description of your issue, suggested solution and other information
Okay, so I have this script to download all videos from a specific youtube channel:
Here's the problem: I want to have the archive.txt file put into the output folder of the videos.
How do I do that? Can you possibly export %(uploader)s or %(uploader_id)s as variables?