Baixe todos os vídeos facinho - Roda Viva - JON 'MADDOG' HALL


apt-get install -y youtube-dl
youtube-dl http://www.youtube.com/watch?v=w5Eu7SiIiRQ&feature=related
youtube-dl http://www.youtube.com/watch?v=B34hU1rFo9Y&feature=related
youtube-dl http://www.youtube.com/watch?v=_LvEx5MmdAU&feature=related
youtube-dl http://www.youtube.com/watch?v=SpCkQk-diMo&feature=related
youtube-dl http://www.youtube.com/watch?v=b05cJETuFxk&feature=related
youtube-dl http://www.youtube.com/watch?v=KHqAE9uiOEM&feature=related
youtube-dl http://www.youtube.com/watch?v=bQ3VqH9j_jw&feature=related
youtube-dl http://www.youtube.com/watch?v=e9YwGnUtcjI&feature=related
youtube-dl http://www.youtube.com/watch?v=cbDsb20ZCsY&feature=related
youtube-dl http://www.youtube.com/watch?v=wX_X-Qgm-JE&feature=related
youtube-dl http://www.youtube.com/watch?v=9njdNs_ZeH4&feature=related


########################################################################
# ########## não testei assim, mas acho que dá certo: #################
########################################################################

#!/bin/bash
# Criado em:Qua 04/Nov/2009 hs 13:00
# Last Change: Qua 04/Nov/2009 hs 13:00
# vim:ft=sh:fdm=syntax:nu:
# Instituicao: <+nome+>
# Proposito do script: baixar entrevista Roda Viva - JON 'MADDOG' HALL
# Autor: Sérgio Luiz Araújo Silva
# site: http://vivaotux.blogspot.com

# se existe o youtube-dl
if which youtube-dl >/dev/null; then
youtube-dl http://www.youtube.com/watch?v=w5Eu7SiIiRQ&feature=related
youtube-dl http://www.youtube.com/watch?v=B34hU1rFo9Y&feature=related
youtube-dl http://www.youtube.com/watch?v=_LvEx5MmdAU&feature=related
youtube-dl http://www.youtube.com/watch?v=SpCkQk-diMo&feature=related
youtube-dl http://www.youtube.com/watch?v=b05cJETuFxk&feature=related
youtube-dl http://www.youtube.com/watch?v=KHqAE9uiOEM&feature=related
youtube-dl http://www.youtube.com/watch?v=bQ3VqH9j_jw&feature=related
youtube-dl http://www.youtube.com/watch?v=e9YwGnUtcjI&feature=related
youtube-dl http://www.youtube.com/watch?v=cbDsb20ZCsY&feature=related
youtube-dl http://www.youtube.com/watch?v=wX_X-Qgm-JE&feature=related
youtube-dl http://www.youtube.com/watch?v=9njdNs_ZeH4&feature=related
else
echo "instale o youtube-dl"
echo "apt-get install -y youtube-dl"
echo "e rode novamente o programa"
fi

mv w5Eu7SiIiRQ.flv 01.flv
mv B34hU1rFo9Y.flv 02.flv
mv _LvEx5MmdAU.flv 03.flv
mv SpCkQk-diMo.flv 04.flv
mv b05cJETuFxk.flv 05.flv
mv KHqAE9uiOEM.flv 06.flv
mv bQ3VqH9j_jw.flv 07.flv
mv e9YwGnUtcjI.flv 08.flv
mv cbDsb20ZCsY.flv 09.flv
mv wX_X-Qgm-JE.flv 10.flv
mv 9njdNs_ZeH4.flv 11.flv

for i in `ls *.flv`; do
ffmpeg2theora $i
done

# se estiver numa pasta exclusiva
rm -f *.flv

2 comentários:

  1. Olá, Sergio!
    Em vez de renomear depois você pode usar o youtube-dl com o parâmetro -o NomeDoArquivo, assim ele já baixa com o nome correto.

    Por exemplo:

    youtube-dl -o 01.flv http://www.youtube.com/watch?v=w5Eu7SiIiRQ&feature=related

    ResponderExcluir

Insira seu comentário - O mesmo será submetido à aprovação!

linux-cookbook

Grupos do Google
Participe do grupo linux-cookbook
E-mail:
Visitar este grupo