Skip to content

About

Download The Economist, MIT Technology Review, and other magazines from ProQuest

Topics

Resources

Stars

12 stars

Watchers

1 watching

Forks

Latest commit

 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proquest-dl

Introduction

Download magazines from ProQuest.

You can download any magazine, although this has been tested on "The Economist" and "MIT Technology Review".

ProQuest doesn't provide covers, so they are downloaded from elsewhere for The Economist (its website), Barron's (PressReader), New Scientist (the issue archive on its website) and MIT Technology Review (the list of past issues on its website). Other magazines, and an issue whose cover cannot be downloaded, get a cover drawn by proquest-dl: the name of the magazine and the issue as ProQuest names it (e.g. "Nov/Dec 2026", "Vol. 129 (6)"). The cover takes the place of page 1, which ProQuest leaves blank, or goes before page 1 when an article is on page 1 (New Scientist does not count its cover).

The pages of the magazine are put in the correct order in the PDF file (that is, page 5 will be page 5 in the resulting PDF file, and so on).

Pages unavailable on ProQuest (e.g. because they consist of advertisements) are left blank.

Also, a bookmark for each article is inserted in the resulting PDF.

This builds up a PDF issue of the magazine in question.

  1. You need a valid subscription to ProQuest, either directly or through your university.

  2. This software runs Firefox with its own profile (by default ~/.proquest-dl/firefox-profile), used in place: log in to ProQuest in the browser window the first time, and the login is kept for the next runs. The download starts by itself as soon as the browser shows the issue page of the publication; if ProQuest does not go back to it after the login, open it again in the first tab.

    If ProQuest shows a captcha, solve it in the browser window: the download goes on by itself, and the pauses between pages double for the rest of the run.

The browser is used to log in, choose the issue and read its list of articles. The PDF files are then downloaded over HTTP with the browser's cookies, one at a time with the --pause between them (about 4 minutes for an issue of The Economist), without opening each article in the browser; the browser takes over only for an article where ProQuest answers with a captcha, and the download goes on over HTTP once it is solved.

Automatic login

To log in by itself, proquest-dl reads a .env file (in the current folder or in the project folder; it is not in git):

# The address of your institution in ProQuest's "Find your institution"
# (search for it on the login page and copy the address of the result)
PROQUEST_INSTITUTION_URL=https://www.proquest.com/shibboleth?accountid=12345
# Credentials for the institution's sign-in page, either a local URL that
# serves {"login": ..., "password": ...} (e.g. a password manager bridge)...
PROQUEST_CREDENTIALS_URL=http://127.0.0.1:47555/
# (optional) a command that starts that server; it is run only when the
# sign-in page asks for the password
# PROQUEST_CREDENTIALS_COMMAND=...
# ...or the username and password themselves
# PROQUEST_USERNAME=...
# PROQUEST_PASSWORD=...

The program rejects the optional cookies, opens the institution's address, fills the username and password on its sign-in page (sent once only, so a wrong password cannot lock the account) and accepts the pages that follow (e.g. the consent to release your attributes to ProQuest). Without credentials, or if this fails, log in by hand in the browser window.

Requirements

You will need in your PATH:

  • qpdf;
  • Ghostscript (gs, or gswin64c on Windows), to compress the final PDF;
  • ImageMagick (magick), for the covers.

Selenium finds or downloads geckodriver by itself.

Run the software

Install the software with uv and run it. For example:

git clone https://github.com/6801318d8d/proquest-dl
cd proquest-dl
uv sync
uv run proquest-dl 35850

The Economist

economist-dl downloads The Economist and takes the same options as proquest-dl, without the publication ID:

uv run economist-dl                          # the latest issue
uv run economist-dl --issue-date 2026-11-14  # the issue of that Saturday

For a scheduled run (cron, Windows Task Scheduler):

uv run economist-dl --new-issue --keep-days 31 --headless --outdir DIR
  • --new-issue: download the latest issue unless it is already in --outdir, without opening the browser when it is; if ProQuest does not have it yet, stop without an error, so that the next run tries again; resume an interrupted download of that issue by itself. Issues are dated Saturday and ProQuest loads them on the Thursday before (sometimes on the Friday), so from Thursday on this looks for the issue of the coming Saturday: schedule it from Thursday evening to Saturday, e.g. every 4 hours.
  • --keep-days N: first delete the issues in --outdir dated over N days ago.

ProQuest asks for a captcha after about 40 PDF files in a session. With --headless nobody can solve it, so the run stops at once and keeps the files already downloaded; with --new-issue the next run resumes the download.

Useful options

  • --issue-date YYYY-MM-DD: the issue to download, by the date ProQuest shows for it (for monthly magazines, the first day of the month). Default: the latest issue.
  • --outdir DIR: where to save the PDF (default: the current folder).
  • --continue-download: resume an interrupted download from the temporary folder (--tmpdir, default ./proquest-dl-temp).
  • --new-issue and --keep-days N, for a scheduled run of any publication (economist-dl has its own, see above): download the latest issue on ProQuest unless it is already in --outdir, resume an interrupted download by itself, stop without an error when ProQuest asks for a captcha; first delete the issues in --outdir dated over N days ago. Each run logs in to ProQuest to see which issue is the latest, so give each publication its own --outdir and --tmpdir.
  • --pause MIN MAX: random pause in seconds after each page load (default 2 to 5).
  • --exclude-section SECTION: skip the articles of a section (e.g. "Special report"); it costs one more page load per article.
  • --firefox-profile-path DIR: another Firefox profile, used in place; no other Firefox may be using it.

Run uv run proquest-dl --help for all the options.

Tests

uv run pytest

The tests check the PDF processing offline (they need qpdf and magick), not the download from ProQuest.

About

Download The Economist, MIT Technology Review, and other magazines from ProQuest

Topics

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages