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.
What if some extractors have their own DEFAULT_OUTTMPL? #20544
Comments
|
oh and this bug too:
Destination should be |
not a bug, try to create the file manually. |
|
works for both Windows and Linux. |
|
Duplicate of #3101. |

What is the purpose of your issue?
Description of your issue, suggested solution and other information
In
YoutubeDL.pyindef prepare_filename(self, info_dict)in line 660outtmpldoes not depend on value of "extractor" key intemplate_dictSo
outtmplis'%(title)s-%(id)s.%(ext)s'most of the timeAnd it's perfectly fine
But when extractor is "Imgur", well... it would be nice to have
outtmplequal'%(playlist_title)s-%(id)s.%(ext)s'Something like this:
If you run
$ youtube-dl https://imgur.com/gallery/gH2YifCyou will getWhen I run my patched youtube-dl I get
Who knows, maybe other extractors have more suitable DEFAULT_OUTTMPL as well, right?