3 ms·
Ruby lesson: Scraping a jail's website
- scarmig 15y agoIf you wonder what where the hell the atrocious __doPostback, __EVENTTARGET, and (gag) __VIEWSTATE come from... the answer is .NET WebForms.
- freejoe76 15y agoYeah, I ran into that brickwall on one of my scraping tasks. Kudos to @dancow for finding a way around it.
- TylerE 15y agoEww, glad I didn't have to with HTML that nasty. I actually coded something very similar to this (http://www.reflector.com/jail-bookings http://www.reflector.com/jail-bookings) for our website about a year ago.
- amccloud 15y agohttp://phantomjs.org/ http://phantomjs.org/ and http://nrabinowitz.github.com/pjscrape/ http://nrabinowitz.github.com/pjscrape/ would be more fit for this.
- aridiculous 15y agoI was just using Nokogiri and I was fiending to use some jquery selection. Thanks for the links!
- __duh 15y ago"Unfortunately the site does not have any deep links to the results." How about the links under the "Booking" column?