Arte+7 Downer (Download and Streamer) for Python and Linux

Note:
The following application might not be legal, and ARTE did not respond to my messages to ask if it is legal to download their videos on Arte+7. The following application was created as an educational project, and will not receive further features or other development from my side (at least until the legal issue is clearly solved).

Download Python Script

The Arte+7 Downer got inspired from the arte+7 Recorder. However this excellent application is missing some desired features, like saving the description of the downloaded video and the corresponding screenshot. Further to preview a video it is necessary to start the download of the video.
The idea was born to create this small script because I wanted to create something other than a ‘Hello World’ in Python and I wanted to be able to stream Arte+7 videos in fullscreen mode in my favorite video player. Arte+7 have interesting shows which are available for streaming online for  7 days. However it is only possible to view the shows in the browser on their website. The code is a mess and it definitely is not very beautiful, but it works. I will try to clean up the code some day.
The usage is pretty simple, first download the script and you need to have the Python modules html2text, urllib2, StringIO and it uses the mimms package to record the video stream. To run the script simply type python arte7.py in your terminal. Or to make the file executable Right-Click the file and enable “Properties > Permissions > Allowing Executing File as Program”. After that simply double-click the file to start Arte+7 Downer. The application does only work if there is an available internet connection (or if the arte+7 page is available).
The main window contains just a list of the online shows with the date they came online and the date they will be removed. To select an item double-click on it.

Main Window

A window with details on the selected item opens and you can either select to view the video or to save it (default folder $home/Videos/Arte+7/). The ‘Save Info’ Button saves the description into a text file and the image as a jpeg file into the same folder as the video file under the same name (with different extensions).

Detailled View with Control Buttons

That’s it, the code is a mess, as it is quite difficult to extract the mms URL from the Arte+7 site. Have fun looking through the code and watching Arte+7 in a real video player.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">