Skip to content
/ arteget Public

simple ruby script that dumps television programs from the "+7" site of Arte.

License

Notifications You must be signed in to change notification settings

trou/arteget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

arteget is a simple ruby script that dumps television programs from the "+7" site of Arte.

It uses wget to dump streams to the disk. Be sure to have it in your PATH.

Basic usage:
1) downloading the latest broadcast of a given program:
    $ ./arteget.rb karambolage
2) download the latest one that is at least 5 mn, with the description
    $ ./arteget.rb -D -m 300 karambolage
3) downloading a single video:
    $ ./arteget.rb https://www.arte.tv/fr/videos/098342-009-A/karambolage/
4) downloading in german, standard quality:
    $ ./arteget.rb --qual=sq --lang=de karambolage
5) downloading all the broadcast of a given program:
    $ ./arteget.rb -n 100 RC-014034

Notes:
Specifying an arbitrary string instead of an URL actually uses the search
engine, so you have some freedom here.

History:
v3.5:
     - New API URLs
     - better handling of single program search results
     - Use API url to list videos, allowing more downloads
     - Some fixes
     - new verbosity level
     - --min-dur option to specify minimum duration
     - fix some download cases
v3.4: 2018/10/18
     - fix download by program name (website update)
v3.3: 2018/09/23
     - fix download by program name (website update)
v3.2: 2018/05/03
     - use https
     - site updates
v3.1: 2017/07/20
     - -n option
     - JSON download fix
     - Use OptionParser (thanks Pierre-Louis Bonicoli!)
     - New 'variant' option to select subtitles (thanks Pierre-Louis Bonicoli!)
     - Changes for program search
v3.0: 2017/04/27
     - change for new site
     - remove old broken features
v2.6: 2016/11/29
     - fix for latest site
     - add handler for "Dessous des cartes"
v2.5: 2016/05/20
     - now use Net:HTTP
     - more or less compatible with new site
v2.4: 2015/11/08
     - fix basic functionnalities with new site, still buggy
     - now uses wget instead of rtmpdump
v2.3: 2014/09/20
     - fix page parsing
     - fix rtmpdump invocation
v2.2: 2014/01/12
     - description file dumping
     - program listing
v2.1:
     - check for rtmpdump at startup
     - option to specify destination directory
v2.0: 2013/08/25
     - rewritten for the new site, not compatible with
       the old one.
     - allow download of subtitled version
v1.11: 2011/04/30
     - fix URL downloading bug
v1.1: 2011/03/06
     - options on the command line
     - reworked to use XML descriptions
     - top videos (views/ratings) support
     - quiet mode
v1.01: 2011/02/20
     - URL arg support
     - new site URL
     - libhttp update
v1.0: 2010/06/13
     - new libhttp release
     - handles new site
     - way cleaner code

v0.1:  2008/XX/XX
     - First "release"

Contact me by mail:
mailbox: devel-arteget
domain: syscall.eu

About

simple ruby script that dumps television programs from the "+7" site of Arte.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages