Skip to content

small script which downloads all magazines, audiobooks and podcasts from the train media portals

Notifications You must be signed in to change notification settings

alexanderadam/ice_portal_downloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iceportal-downloader

It only works when connected to the wifi of the Deutsche Bahn (i.e. WIFIonICE / WIFI@DB), České dráhy (i.e. CDWiFi) or ÖBB. Make sure that you're signed in first (i.e. by visiting https://login.wifionice.de or https://wifi.bahn.de or whatever portal you have).

This is a small script that downloads all offered audiobooks and magazines from the train media portals.

Gif showing how episodes are downloaded

Original implementation by SirBenedick. This fork uses properly tagged audio files and covers and can also download newspapers and magazines.

This is just meant to help you download the content for offline use if you have a connections where you have to switch trains and you want to avoid re-starting the media playing. Please respect the rights of the authors and publishers and don't distribute the downloaded content.

Also please delete the media files when you stop travelling with the ICE.

Setup

You might need these packages installed:

# Debian / Ubuntu
sudo apt install build-essential libssl-dev zlib1g-dev

# Fedora
sudo dnf install openssl-devel zlib-devel gcc gcc-c++ make libyaml-devel ruby-devel
  1. Ensure you have Ruby installed (I usually recommend rbenv but any Ruby installation should do)
  2. git clone 'git@github.com:alexanderadam/iceportal-audiobooks-downloader.git'
  3. cd iceportal-audiobooks-downloader
  4. bundle install
  5. bundle exec ruby main.rb
  6. enjoy