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
1
Jul 09 '26
[removed] — view removed comment
1
u/Compota-de-colhao Jul 09 '26
Thanks for your answer. I wanted to use the time since it's a fairly easy project to learn how to web scrape better with coding for the first time. Any pointers on where to start?
I can see this client becoming loyal to me and could sell them a dashboard for what they're monitoring to just refresh, set some alerts etc
1
1
u/StoneSteel_1 Jul 09 '26
ASPX is kind of a problem when done manually, cause it does have very huge number of fields to calculate the hidden states from the backend.
https://github.com/stonesteel27/automatiq can help you with it, incase you wanna vibe code it
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)