Hacker News new | ask | show | jobs
by nurettin 956 days ago
Don't know about the poster, but I try to find divs and buttons in a fuzzy way. Usually via element text. Sometimes it mitigates changes, sometimes it doesn't. It's a guessing game. Especially when they start using shadow elements or iframes in the page. If I'm looking for something specific like a price or dimensions, I can sometimes get away with it by collecting dollar amounts or X x Y x Z from the raw text.
1 comments

iframes have been a pain the butt to scrape against. I see it more and more in websites now.