News for hackers. Stuff that matters.
Re:Scrape like the big boys by gonzo41 on Friday November 05, 2021 @06:31PM (#29125425)
I think there's an opportunity for a new JS framework to have something like randomly generated dom that will always display the page and elements the same to a human but constantly break paths for computers.

Like displaying a table with semantic elements, then divs, then using an iframe with css grid and floating values over the top.

This almost seems like a problem for AI to solve.

Re:Scrape like the big boys by blueboo on Friday November 05, 2021 @07:30PM (#29125844)
Even if your DOM is obfuscated, the rendered page remains vulnerable to OCR. Obfuscate the rendered pixels and you’ll annoy your humans and eventually find that the scrapers’ OCR is superhuman.

Still, maybe AI comes into it. Maybe poisoning the data is the right way to do it conditioned on ML-juiced anomaly detection.

Re:Scrape like the big boys by Lifelarper on Saturday November 06, 2021 @10:59AM (#29130748)
pdf and print newspaper is still a massive pain in the ass to OCR accurately
Re:Scrape like the big boys by rootusrootus on Friday November 05, 2021 @09:40PM (#29126747)
To some extent those already exist and I get annoyed by them when they cause 1Password to be useless on their login page. But it probably would help with algorithmic scraping.
Re:Scrape like the big boys by zarzavat on Friday November 05, 2021 @10:15PM (#29126932)
This is already common. It's mildly annoying for scrapers but generally a waste of time since you can usually still orient yourself based on the content of the nodes.
Re:Scrape like the big boys by ghusbands on Friday November 05, 2021 @08:53PM (#29126406)
This would have huge accessibility issues, breaking screen readers and the like.
Re:Scrape like the big boys by kall on Saturday November 06, 2021 @07:42AM (#29129366)
We already have react-native-web (<3), so we have that covered.