# Les emissions tv sur internet

**URL:** <https://www.debian-fr.org/t/les-emissions-tv-sur-internet/11630>\
**Category:** Trucs et Astuces\
**Created:** [Février 20, 2016, 5:00 UTC](https://www.debian-fr.org/t/les-emissions-tv-sur-internet/11630 "2016-02-20T17:00:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sidell](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@sidell](https://www.debian-fr.org/u/sidell)\
**Post date:** [Février 20, 2016, 5:00 UTC](https://www.debian-fr.org/t/les-emissions-tv-sur-internet/11630/1 "2016-02-20T17:00:30Z")

</div>

Voici un site recensant pas mal d’émissions tv disponible en streaming/flash du genre JT ou les guignols.  
Bref enjoy  
[emissionstele.gorisse.com/](http://emissionstele.gorisse.com/)

---

<div class="post-metadata">

**Author:** ![kippix](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/k/d2c977/32.png) [@kippix](https://www.debian-fr.org/u/kippix)\
**Post date:** [Février 20, 2016, 5:03 UTC](https://www.debian-fr.org/t/les-emissions-tv-sur-internet/11630/2 "2016-02-20T17:03:15Z")

</div>

Hello,

pour ceux que ça intéresse j’ai un petit script sympas pour télécharger tous ça automatiquement 😉

```auto
#!/bin/bash                                                                                                                                                    
#                                                                                                                                                              
# But: Telecharger les videos en streaming sur canalplus.fr                                                                                                    
#                                                                                                                                                              
# Auteur : Forum Ubuntu                                                                                                                                        
# Modification : KippiX                                                                                                                                        
#                                                                                                                                                              
#                                                                                                                                                              
#set -x                                                                                                                                                        

ID="kippix"
HISTORIQUE=/home/$ID/Canal+/.cplus_hist

if [! -d "/home/$ID/Canal+"]; then mkdir /home/$ID/Canal+;fi
if [! -d "/home/$ID/Canal+/guignols"]; then mkdir /home/$ID/Canal+/guignols;fi
if [! -d "/home/$ID/Canal+/dimanche+"]; then mkdir /home/$ID/Canal+/dimanche+;fi
if [! -d "/home/$ID/Canal+/zapping"]; then mkdir /home/$ID/Canal+/zapping;fi
if [! -d "/home/$ID/Canal+/groland"]; then mkdir /home/$ID/Canal+/groland;fi
if [! -f $HISTORIQUE]; then touch $HISTORIQUE; fi

function dl_cplus
{
  VIDEOS=$( wget -q -O - $1 | tr "/." "\n" | grep "_image_L" | sed -e 's/_image_L/_video_H.flv/g' )

  for VIDEO in $VIDEOS; do
    echo -n $VIDEO"... "
    grep -q $VIDEO $HISTORIQUE
    if [$? -eq 1]; then
      echo $VIDEO >> $HISTORIQUE
      wget -q -nc "http://vod-flash.canalplus.fr/"$VIDEO
      echo "Fini."
    else
      echo "Video deja existante"
    fi
  done
}

# Guignols                                                                                                                                                     
cd "/home/$ID/Canal+/guignols"
dl_cplus "http://www.canalplus.fr/index.php?pid=1784"

# Dimanche+                                                                                                                                                    
#cd "/home/$ID/Canal+/dimanche+"                                                                                                                               
#dl_cplus "http://www.canalplus.fr/index.php?pid=1895"                                                                                                         

#Groland                                                                                                                                                       
cd "/home/$ID/Canal+/groland"
dl_cplus "http://www.canalplus.fr/index.php?pid=1787"

# Zapping                                                                                                                                                      
cd "/home/$ID/Canal+/zapping"
dl_cplus "http://www.canalplus.fr/index.php?pid=1830"

```

++

---

<div class="post-metadata">

**Author:** ![debiantaz](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@debiantaz](https://www.debian-fr.org/u/debiantaz)\
**Post date:** [Février 20, 2016, 5:28 UTC](https://www.debian-fr.org/t/les-emissions-tv-sur-internet/11630/3 "2016-02-20T17:28:33Z")

</div>

Sympa ce script ![:smt007](https://www.debian-fr.org/uploads/default/original/1X/e72d3b45191f9b2363aa21bfae6f42497bc4042b.gif)  
Existe t-il un tel script pour récupérer les vidéos de m6 replay ?

---

<div class="post-metadata">

**Author:** ![ricardo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ricardo/32/3864_2.png) [@ricardo](https://www.debian-fr.org/u/ricardo)\
**Post date:** [Février 20, 2016, 5:28 UTC](https://www.debian-fr.org/t/les-emissions-tv-sur-internet/11630/4 "2016-02-20T17:28:34Z")

</div>

[quote=“kippix2”]Hello,

pour ceux que ça intéresse j’ai un petit script sympas pour télécharger tous ça automatiquement 😉

```auto
#!/bin/bash                                                                                                                                                    
#                                                                                                                                                              
# But: Telecharger les videos en streaming sur canalplus.fr                                                                                                    
#                                                                                                                                                              
# Auteur : Forum Ubuntu                                                                                                                                        
# Modification : KippiX                                                                                                                                        
#                                                                                                                                                              
#                                                                                                                                                              
#set -x                                                                                                                                                        

ID="kippix"
HISTORIQUE=/home/$ID/Canal+/.cplus_hist

if [! -d "/home/$ID/Canal+"]; then mkdir /home/$ID/Canal+;fi
if [! -d "/home/$ID/Canal+/guignols"]; then mkdir /home/$ID/Canal+/guignols;fi
if [! -d "/home/$ID/Canal+/dimanche+"]; then mkdir /home/$ID/Canal+/dimanche+;fi
if [! -d "/home/$ID/Canal+/zapping"]; then mkdir /home/$ID/Canal+/zapping;fi
if [! -d "/home/$ID/Canal+/groland"]; then mkdir /home/$ID/Canal+/groland;fi
if [! -f $HISTORIQUE]; then touch $HISTORIQUE; fi

function dl_cplus
{
  VIDEOS=$( wget -q -O - $1 | tr "/." "\n" | grep "_image_L" | sed -e 's/_image_L/_video_H.flv/g' )

  for VIDEO in $VIDEOS; do
    echo -n $VIDEO"... "
    grep -q $VIDEO $HISTORIQUE
    if [$? -eq 1]; then
      echo $VIDEO >> $HISTORIQUE
      wget -q -nc "http://vod-flash.canalplus.fr/"$VIDEO
      echo "Fini."
    else
      echo "Video deja existante"
    fi
  done
}

# Guignols                                                                                                                                                     
cd "/home/$ID/Canal+/guignols"
dl_cplus "http://www.canalplus.fr/index.php?pid=1784"

# Dimanche+                                                                                                                                                    
#cd "/home/$ID/Canal+/dimanche+"                                                                                                                               
#dl_cplus "http://www.canalplus.fr/index.php?pid=1895"                                                                                                         

#Groland                                                                                                                                                       
cd "/home/$ID/Canal+/groland"
dl_cplus "http://www.canalplus.fr/index.php?pid=1787"

# Zapping                                                                                                                                                      
cd "/home/$ID/Canal+/zapping"
dl_cplus "http://www.canalplus.fr/index.php?pid=1830"

```

++[/quote]

Bonne idée mais, sans effacer le présent, peux-tu porter ce script ds le fil idoine en post-it.

---

<div class="post-metadata">

**Author:** ![dimm](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/d/e9bcb4/32.png) [@dimm](https://www.debian-fr.org/u/dimm)\
**Post date:** [Février 20, 2016, 5:28 UTC](https://www.debian-fr.org/t/les-emissions-tv-sur-internet/11630/5 "2016-02-20T17:28:34Z")

</div>

Il y a aussi televidilo :  
[http://televidilo.bouil.org/](http://televidilo.bouil.org/)
