Earlier quoted context omitted.
I wonder if any webapps use randomly generated IDs and class names (linked in the CSS) to prevent scraping. In my spare time, I've been playing around with "scrapers" (I like to call them web browsers, personally) that don't even look at markup. My first attempt used a short list of heuristics that proved to be eerily successful for what I was after. To the point I could throw random websites with similar content (di…
I would be really interested in knowing which heuristics or machine learning techniques produced decent results. That's if I can't convince you to open source the code. I'm working on the same problem at the moment.
I Don’t Need No Stinking API: Web Scraping For Fun and Profit
91–100 of 176 posts
Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#92Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#93Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#94I'm surprised that no one has attempted to write a Twitter client based solely on scraping to get around the token limits.
Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#95Scraping used to be the way to get data back in the days, but websites also didn't change their layout/structure on a weekly basis too back then and were much more static when it came to the structure.
Having recently written a small app that was forced to scrape HTML and having to update it every month to make it keep working, I can't imagine doing this for a larger project and maintaining it.
Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#96Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#97I so not agree with that article, it makes me sick. And this guy basically is some "marketer" so no wonder he gets quite some stuff wrong, imo. :p
Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#98I love HTML scraping. But Javascript???...The juiciest data sets these days are increasingly in JS. For the love of me i can't get around scraping JS :( I do know that Selenium can be used for this...but am yet to see a decent example for the same. Does anyone have any good resources/examples on JS scraping that they could share?? I would be eternally grateful.
If you are using Python, you can also use pyv8 to evaluate Javascript code.
Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#99I love HTML scraping. But Javascript???...The juiciest data sets these days are increasingly in JS. For the love of me i can't get around scraping JS :( I do know that Selenium can be used for this...but am yet to see a decent example for the same. Does anyone have any good resources/examples on JS scraping that they could share?? I would be eternally grateful.
Here's a little experiment with Reddit-automation using Selenium: https://github.com/jsz/reddit_voting
Re: I Don’t Need No Stinking API: Web Scraping For Fun and Profit
#100And this is why we can't have nice things. Web scraping, as fun as it is (and btw, this title again abuses "Fun and Profit"), is not a practice we should encourage. Yes, it's the sort of dirty practice many people do, at one point or another, but it shouldn't be glorified.