pense-bête de bruno sanchiz

Accueil > programmes > Images, Sons, Vidéos > Obsolète Téléchargements ( download )

Obsolète Téléchargements ( download )

Publié le 11 septembre 2017, dernière mise-à-jour le 11 décembre 2022, 8 visites, 23643 visites totales.

Ce document erst remplacé par Téléchargement ( Download )


Télécharger un fichier que l’on voit par

exemple sur youtube ou arte

  • INSTALLATIONS
    • sur ordinateur, commencer par installer firefox avec videodownloadhelper et Easy Youtube Video Downloader Express
    • yt-dl
      ouvrir un terminal en root
      sudo apt-get install python3-pip && sudo pip3 install yt-dlp
    • youtube-dl : OBSOLETE UTILISER YT-DLP ouvrir un terminal en root
      apt-get --purge remove youtube-dl ; rm /usr/bin/youtube-dl /usr/local/bin/youtube-dl ; wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl && chmod a+x /usr/local/bin/youtube-dl && ln -s /usr/local/bin/youtube-dl /usr/bin/youtube-dl && youtube-dl -U
  • UTILISATION avec youtube
    • videodownloadhelper
    • Easy Youtube Video Downloader Express
    • yt-dl : yt-dl https://www.youtube.com/watch?v=7JEbGKRJbbg
    • OBSOLETE UTILISER YT-DLP youtube-dl : youtube-dl https://www.youtube.com/watch?v=7JEbGKRJbbg
    • youtube-dl avec sous titres : youtube-dl --write-auto-sub --sub-lang fr https://www.youtube.com/watch?v=EmsntGGjxiw

2.ouvrir un terminal normal, pas en root. copiez coller
youtube-dl -F https://www.arte.tv/fr/videos/088466-000-A/l-avion-du-futur/

j’obtiens

[arte.tv :+7] 088466-000-A : Downloading JSON metadata
[arte.tv :+7] 088466-000-A : Checking HTTPS_SQ_1 video format URL
[arte.tv :+7] 088466-000-A : Checking HLS_XQ_2 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_SQ_3 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_SQ_2 video format URL
[arte.tv :+7] 088466-000-A : Checking HLS_XQ_3 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_MQ_3 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_MQ_2 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_MQ_1 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_EQ_3 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_EQ_2 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_EQ_1 video format URL
[arte.tv :+7] 088466-000-A : Checking HLS_XQ_1 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_HQ_1 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_HQ_2 video format URL
[arte.tv :+7] 088466-000-A : Checking HTTPS_HQ_3 video format URL
[info] Available formats for 088466-000-A :
format code extension resolution note
HLS_XQ_2 m3u8 1280x720 VOA, Allemand 2200k
HTTPS_MQ_2 mp4 384x216 VOA, Allemand 300k
HTTPS_HQ_2 mp4 640x360 VOA, Allemand 800k
HTTPS_EQ_2 mp4 720x406 VOA, Allemand 1500k
HTTPS_SQ_2 mp4 1280x720 VOA, Allemand 2200k
HLS_XQ_3 m3u8 1280x720 VOA-STMA, Allemand (sourds et malentendants) 2200k
HTTPS_MQ_3 mp4 384x216 VOA-STMA, Allemand (sourds et malentendants) 300k
HTTPS_HQ_3 mp4 640x360 VOA-STMA, Allemand (sourds et malentendants) 800k
HTTPS_EQ_3 mp4 720x406 VOA-STMA, Allemand (sourds et malentendants) 1500k
HTTPS_SQ_3 mp4 1280x720 VOA-STMA, Allemand (sourds et malentendants) 2200k
HLS_XQ_1 m3u8 1280x720 VF-STF, Français 2200k
HTTPS_MQ_1 mp4 384x216 VF-STF, Français 300k
HTTPS_HQ_1 mp4 640x360 VF-STF, Français 800k
HTTPS_EQ_1 mp4 720x406 VF-STF, Français 1500k
HTTPS_SQ_1 mp4 1280x720 VF-STF, Français 2200k (best)

on va choisir le meilleur fichier en français, celui qui s’appelle (best) : on repère le début, HTTPS_SQ_1

on intégre le code trouvé au dessus
youtube-dl -f HTTPS_SQ_1 https://www.arte.tv/fr/videos/088466-000-A/l-avion-du-futur/

et c’est téléchargé dans le dossier personnel.
3. automatisations ( pas obligatoire )

1.si le mot best est présent à chaque fois que vous utilisez le programme,, vous pouvez tenter

url="https://www.arte.tv/fr/videos/088466-000-A/l-avion-du-futur/" , ne pas oublier les guillemets ; puis copier coller :

youtube-dl -f $(youtube-dl -F "$URL" |grep ’(best)’ |cut -d’ ’ -f1) "$URL"

2.encore plus automatisé : en root, COPIER COLLER ( ne recopiez pas )

echo -n "# !" > /usr/bin/ARTE ; echo /bin/bash >> /usr/bin/ARTE ; echo URL=\"\$1\" >> /usr/bin/ARTE ; echo youtube-dl -f \$\(youtube-dl -F \"\$URL\" |grep \’\(best\)\’ |cut -d\’ \’ -f1\) \"\$URL\" >> /usr/bin/ARTE && chmod a+x /usr/bin/ARTE

ensuite il suffira de taper

ARTE https://www.arte.tv/fr/videos/088466-000-A/l-avion-du-futur

pour avoir le "meilleur" mais probablement pas en VOST ( Version Originale Sous Titré)

3. automatisation pour VOST en root, COPIER COLLER ( ne recopiez pas )

echo -n "# !" > /usr/bin/ARTEVOST ; echo /bin/bash >> /usr/bin/ARTEVOST ; echo URL=\"\$1\" >> /usr/bin/ARTEVOST ; echo youtube-dl -f \$\(youtube-dl -F \"\$URL\" |sed \’s#^\\(.*\\) \\([0-9]*00\\)k \$#\2 \1 \2k#\’|sort -h |grep \"Version originale - ST français\" |tail -n 1 |cut -d\" \" -f2\) \"\$URL\" >> /usr/bin/ARTEVOST && chmod a+x /usr/bin/ARTEVOST

ensuite il suffira de taper

ARTEVOST https://www.arte.tv/fr/videos/038159-000-A/a-touch-of-zen/


flux rss : Podcast

[bruno sanchiz]