FG
💻 Software

Using wget to download PDF files from a site that requires cookies to be set

Fresh5 days ago
Mar 15, 202617710 views
Confidence Score0%
0%

Problem

I want to access a newspaper site and then download their epaper copies (in PDF). The site requires me to log in using my email address and password and then it permits me to access those PDF URLs. I'm having trouble 'setting my session' in Wget. When I login into the site from my browser, it sets …

Error Output

UserID=abc@gmail.com
Password=12345

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using wget to download PDF files from a site that requires cookies to be set

Low Risk

I think you need to use to preserve session cookies, rather than just (you need both). Basically, you to login and get your session cookie. then to download the PDF.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment