Skip to content

Simple shell script to batch download heise magazine PDFs. You need to have access to the archive via a paid subscription to use this.

Notifications You must be signed in to change notification settings

zackfuchtel/dl_for_heise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Downloader for Heise Magazines

This is a simple bash script to download magazines as PDF file from https://www.heise.de/select.

You will need an active subscription to download anything. This is just an alternative to clicking buttons in your browser.

Usage

  1. Download the script, mark as executable if needed
  2. Edit script to include your email adress and password for heise.de (at the very beginning of the script)
  3. Only for Windows Users: Install Ubuntu for Windows
  4. Open the (Ubuntu) bash console terminal window.
  5. Change to the directory you have downloaded the script to (e.g. cd dl_for_heise)
  6. Run the script, e.g. to download all issues of the magazine c't from the year 2021: ./download.sh ct 2021
  7. You will find all downloaded PDF files as well as .jpg cover thumbnails in newly created subfolders divided by magazine name and year.

Further Options

  • download all c't magazines between 2014 and 2022: ./download.sh ct 2014 2022
  • download other magazines: replace ct with whatever is in the URL of the heise archive page, e.g. for the archive of Make: https://www.heise.de/select/make/archiv the correct name is make, and for Retro Gamer https://www.heise.de/select/retro-gamer/archiv, the correct name is retro-gamer. Further options include: ix, tr, mac-and-i, ct-foto, ct-wissen, ix-special, ...
  • display additional console output by adding -v at the beginning of the command: ./download.sh -v ct 2014 2022

Common Failures

  • sometimes heise does not provide proper PDF files but internal server errors, the script will detect this and retry a few times (see max_tries_per_download in the script)
  • already downloaded files will not be downloaded again
  • if you are not authorized to download a certain issue, the script will retry a few times and finally skip the file.
  • make sure to replace your email and password in the script

Example Output

Heise Magazine Downloader v1.0
Logging in...
[ct][2022/01][SKIP] Already downloaded.
[ct][2022/02] Downloading...
################################################################################################################# 100.0%
[ct][2022/02][SUCCESS] Downloaded ct/2022/ct.2022.02.pdf (size: 18488221)
[ct][2022/03][SKIP] Magazine issue does not exist on the server, skipping.
...

Thank you to everyone who made this possible!

MyDealz usernames: tehlers, joboza, dasd1

Please submit pull requests and write issues in this project if you want to further improve this script.

Disclaimer

This poject is a community based non-commercial project and not affiliated with Heise Medien GmbH & Co. KG. The script only acts as a client to download files otherwise available via your webbrowser. It does not circumvent any security measures made by the magazines publishers, without an active subscription to their services no downloads will be possible.

About

Simple shell script to batch download heise magazine PDFs. You need to have access to the archive via a paid subscription to use this.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%