Create PDF copies of magazines from
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Script that converts JPEGs from magazines section into multi-paged PDFs. No copyright infringement intended.


The script is written in Python 2.7 and is dependent on some built-in packages (urllib2) and these packages:

These can all be installed easily via pip like this:

pip install Pillow PyPDF2 beautifulsoup4

Everything works well in virtualenv and it is actually a recommended way to run this script.


Everything should be working fine if you Xcode tools installed. If you are getting CodecError you might need to install libjpeg library: either via MacPorts or Homebrew:

brew install libjpeg


Ubuntu can give you trouble because of missing installation, if that's the case then do sudo apt-get install python-dev to have everything you need. Make sure you have libjpeg library installed to prevent CodecError. Uninstall Pillow/PIL if it is already on your system pip uninstall PIL.

yum : yum install libjpeg-devel

apt-get: apt-get install libjpeg-dev

Make sure you install Pillow again after the library is installed.


Will work fine with provided modules (see above Requirements).


Run the script with one or more arguments. The first argument is the title magazine, the other ones are issue numbers (see below on numbering).

The following command will download issues 2, 5 and 6 of Score magazine:

python score 2 5 6

If you omit the issue numbers, script will proceed to download entire catalog of issues. For example to download all issues of Excalibur, do the following:

python excalibur

If you need to see all available magazines, launch the script with --list argument.

python --list


One note on the numbering of the magazines. The numbers actually refer to indexes. For example issue Excalibur 20+ has index number 24. Excalibur Zero (0) has index number of 1. You can count the order of the magazine you wish to download on the webpage (start from number one) to get the exact issue. For most of the magazines the index numbers should equal to actual issue numbers. The filename of PDFs should correspond to the right issue number (as stated on website). Some magazines are renamed due to illegal characters like / and \.

Manual addition

You can add additional magazines into the MAGAZINES dictionary in the commented section.

To be added

  • add argument for JPEG-only download
  • add ePub export