a lesson, use a language for what it is supposed to be usefull !

Today downloaded some songs from the youtube url’s with

youtube-dl -f 17 -i down.txt


pretty well, but soon i realised that I forgot something

youtube-dl -f 17 --extract-audio --audio-format=mp3 -k -a down.txt

unfortunately both the ffmpeg and avconv doesn’t support sending input as a batch. and there is no way that i have to pass 50 file names to the commands. Generally i would have gone for bash and write a few lines of code and get rid of the problem. But i thought wickedly and tried to do like this.

the code looked too good(in fact, still i didn’t get where i’m going wrong). but the run gave the creeps, so without looking back I silently headed back to the BASH.

#lesson :  Never use a language for what it’s not supposed to do, generally


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s