PHP Scraper: Login & PDF Retrieval
Budget: ₹1,500 – ₹12,500 INR
I need a concise, well-commented PHP script that automatically logs in to a third-party service-provider portal using a standard username-and-password form, then navigates to the Reports area and saves the available PDF reports to disk.
Key points to consider
• The portal is private (not e-commerce, educational, or government) and sits behind a regular HTML login page—no OAuth or 2FA.
• After authentication the script must maintain the session (cookies, hidden tokens, possible CSRF fields) long enough to reach the Reports section and download each resulting PDF.
• Output files should keep their original filenames, with an option to set a custom download folder.
Deliverables
1. Stand-alone PHP file (or small set of files) that runs from the command line using cURL or Guzzle, no frameworks required.
2. Clear configuration section for credentials and destination path.
3. Read-me explaining any required PHP extensions and how to trigger the download.
4. Brief inline comments so a developer on my side can adjust selectors or endpoints if the portal changes.
I can supply test credentials and a target URL once we start. The job is complete when the script logs in reliably and the PDFs appear in the specified folder without manual intervention.
Key points to consider
• The portal is private (not e-commerce, educational, or government) and sits behind a regular HTML login page—no OAuth or 2FA.
• After authentication the script must maintain the session (cookies, hidden tokens, possible CSRF fields) long enough to reach the Reports section and download each resulting PDF.
• Output files should keep their original filenames, with an option to set a custom download folder.
Deliverables
1. Stand-alone PHP file (or small set of files) that runs from the command line using cURL or Guzzle, no frameworks required.
2. Clear configuration section for credentials and destination path.
3. Read-me explaining any required PHP extensions and how to trigger the download.
4. Brief inline comments so a developer on my side can adjust selectors or endpoints if the portal changes.
I can supply test credentials and a target URL once we start. The job is complete when the script logs in reliably and the PDFs appear in the specified folder without manual intervention.