Fix Python Scraper Post-Update

Заказчик: AI | Опубликовано: 26.02.2026

My small Python script scrapes a single website with BeautifulSoup and has reliably pulled the data I need for months. Yesterday the site pushed an update and the extraction part suddenly broke—no errors, just empty results. I have not changed anything on my end, so the issue is almost certainly new HTML structure, class names, or an extra layer of JavaScript that BeautifulSoup is now missing. Here is what I need: • Review the existing code, identify exactly why the selectors or parsing logic no longer match the updated markup. • Patch or refactor the script so it again captures every data field that used to be returned. • Keep the rest of the workflow (file writes, scheduling, etc.) untouched; only the scraping section needs attention. • Provide a brief explanation of the fix so I can maintain it next time the site changes. Acceptance criteria: when I run the script it should populate the same CSV columns with valid, complete rows, matching the live site’s content at time of execution. The code is short—roughly 120 lines—and uses only requests, BeautifulSoup and pandas. No headless browser or Selenium is currently involved; I would like to stay with lightweight scraping unless adding one lightweight dependency becomes unavoidable.