Re@PeR
Newbie
- Oct 1, 2009
- 3
- 0
i'm trying to scrape a web application that's built using AngularJS, that has a javascript generated token that needs to be validated by the backend and several iframe blocks on the page and it's also using strange data formats, probably a variation of protobuff, the data looks all garbled coming back from the API.
Automated logins are blocked by this JavaScript token, so it's very hard to scrape data via the REST calls, the page has to render in a browser before you can login or see any data in a usable format, the REST calls also garble up the data so that you're not looking at easy parsable JSON or similar.
The iFrame further makes it non-selenium friendly
Does a tool exist that can scrape and interact with pages that were made very scraper-unfriendly (JS-login token, garbled REST data and iframes everywhere)?
Currently building a tool that screenshots the page and uses OCR to find positions of text / images in order to find coordinates on the screen where a click should happen, but this feels overkill for what i'm trying to do.
Automated logins are blocked by this JavaScript token, so it's very hard to scrape data via the REST calls, the page has to render in a browser before you can login or see any data in a usable format, the REST calls also garble up the data so that you're not looking at easy parsable JSON or similar.
The iFrame further makes it non-selenium friendly
Does a tool exist that can scrape and interact with pages that were made very scraper-unfriendly (JS-login token, garbled REST data and iframes everywhere)?
Currently building a tool that screenshots the page and uses OCR to find positions of text / images in order to find coordinates on the screen where a click should happen, but this feels overkill for what i'm trying to do.