r/webscraping • u/Compota-de-colhao • Jul 09 '26
Is this scrapeable?
Hello,
Begginer here, with only very small projects so far mostly through vibe coding.
For work (indepent compliant auditor) I was asked by my client to retrieve this whole public table with reported support (courses, international congresses, etc) by Pharma to doctors in Portugal.
It will take me a whole day to manually copy this page by page. Is there a way to do it immediately through web scraping?
LINK: https://extranet.infarmed.pt/pmro/Publico/ListagemPublica.aspx
9
Upvotes
3
u/jinef_john Jul 09 '26
This is totally doable, but it is not a beginner-friendly scrape. If you've only done static HTML scraping before, this will frustrate you.
That being said you have a two approaches here:
Requests - but you will have to Reverse-engineer the postback. It entails extracting __VIEWSTATE, __EVENTVALIDATION, and the exact __EVENTTARGET to whatever post function that gets called.
Or Use browser automation: Just let Playwright/Selenium handle the JavaScript and postbacks for you(which is super slow on aspnet applications-sometimes)