#!/bin/bash
#------------------
# $1 : url
HISTORIQUE=~/.cplus_hist
touch $HISTORIQUE
function dl_cplus
{
VIDEOS=$( wget -q -O - $1 | tr "/." "\n" | grep "_image_L" | sed -e "s/_image_L/_video_H.flv/" )
for VIDEO in $VIDEOS; do
grep -q $VIDEO $HISTORIQUE
if [ $? -eq 1 ]; then
echo $VIDEO >> $HISTORIQUE
wget -q -nc "http://vod-flash.canalplus.fr/"$VIDEO
fi
done
}
function dl_cplus
{
wget -nv -O tmp.htm $1
videos=$( cat tmp.htm | grep "_image_L" | sed -e 's/ /§/g')
for video in $videos
do
#echo $video
lefichier=$( echo $video | tr "/." "\n" | grep "_image_L" | sed -e 's/_image_L/_video_H.flv/g' )
lurl="http://vod-flash.canalplus.fr/"$lefichier
#echo Telecharge $lurl
[ ! -f $lefichier ] && wget -nv $lurl
done
}
# Les Guignols
cd "/chemin/vers/repertoire/canal+"
dl_cplus "http://www.canalplus.fr/index.php?pid=1784"
# La boite à questions
cd "/chemin/vers/repertoire/canal+"
dl_cplus "http://www.canalplus.fr/c-humour/pid178 ... tions.html"
# SAV des émissions
cd "/chemin/vers/repertoire/canal+"
dl_cplus "http://www.canalplus.fr/index.php?pid=1782"
# Groland
cd "/chemin/vers/repertoire/canal+"
dl_cplus "http://www.canalplus.fr/index.php?pid=1787"
# Pepites sur le web
cd "/chemin/vers/repertoire/canal+"
dl_cplus "http://www.canalplus.fr/index.php?pid=1778"
# Le Zapping
cd "/chemin/vers/repertoire/canal+"
dl_cplus "http://www.canalplus.fr/index.php?pid=1830"
# Dimanche +
cd "/chemin/vers/repertoire/canal+"
dl_cplus "http://www.canalplus.fr/index.php?pid=1895"
Emissions Canal+
Modérateur : Mods GNU/Linux
Emissions Canal+
Voici un script pour ceux qui désirent podcaster certaines émissions de Canal+.
-
- Sujets similaires
- Réponses
- Vues
- Dernier message
-
-
Windows 11 : Impossible de rejoindre le canal beta - Aide FAQ Complements
par Parisien_entraide » » dans Windows : Résoudre les problèmes - 5 Réponses
- 217 Vues
-
Dernier message par Parisien_entraide
-
-
-
0x1900101 - Windows 11 mise à jour Update Insider canal DEV [résolu]
par bianconero57 » » dans Windows : Résoudre les problèmes - 17 Réponses
- 345 Vues
-
Dernier message par Malekal_morte
-