[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

While using youtube-dl, how do I make it so it doesn't include

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 2

File: Untitled.png (94KB, 929x672px) Image search: [Google]
Untitled.png
94KB, 929x672px
While using youtube-dl, how do I make it so it doesn't include the video ID in the title of the file?
>>
>>60086065
You use the -o switch the specify the output filename format.
>>
If the id's are all x digits, then make a script to remove last x digits from all files in folder
>>
File: wilderness.png (3MB, 1920x1079px) Image search: [Google]
wilderness.png
3MB, 1920x1079px
>>60086065
> rtfm

> /sqt/
>>
man youtube-dl
OUTPUT TEMPLATE
The -o option allows users to indicate a template for the output file names.

tl;dr: navigate me to examples (#output-template-examples).

The basic usage is not to set any template arguments when downloading a single file,
like in youtube-dl -o funny_video.flv "http://some/video". However, it may contain
special sequences that will be replaced when downloading each video. The special
sequences may be formatted according to python string formatting operations
(https://docs.python.org/2/library/stdtypes.html#string-formatting). For example,
%(NAME)s or %(NAME)05d. To clarify, that is a percent symbol followed by a name in
parentheses, followed by a formatting operations. Allowed names along with sequence
type are:

· id (string): Video identifier

· title (string): Video title

· url (string): Video URL ..................


youtube-dl -o "%(title)s.%(ext)s"
>>
>>60086065
noob
>>
>>60086065
>he doesn't have google
>>
Why the fuck are you ripping music off youtube?
>>
read the docs
>>
>>60088791
It's fast and easy.
No neeed to have an account in some bullshit site.
Thread posts: 10
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.