Перейти к содержимому

Заказ на фриланс · Скрипты, боты и mini apps › Парсеры

PHP cURL Timetable Scraper Fix

  • Бюджет: 723 ₽ – 2 710 ₽
  • Раздел: Скрипты, боты и mini apps › Парсеры
  • Опубликован: (МСК)

I have to pull every piece of timetable information that appears on

and my straight-forward cURL attempt is being blocked with 403/404 responses.
What I need from you is a compact PHP solution that:

• Opens the public page successfully (no login involved) by setting the right headers, cookies or TLS/SSL options so the server treats the request like a normal browser visit.
• Parses the returned HTML, captures all columns that make up each timetable row (subject, lecturer, date, hour, hall, anything else displayed).
• Returns that data in a clean array or prints it as JSON—simple access is enough, I will decide later whether to drop it into CSV, a DB, etc.

Please keep the script in a single .php file, well commented so I can tweak it later. Using native DOMDocument/XPath is fine; if you prefer a lightweight parser such as simplehtmldom or Symfony DomCrawler just include the require statement. A quick read-me with one command-line example to prove the fetch works will close the job.

Похожие заказы

Заказы для программистов на фрилансе · Все свежие заказы