News for hackers. Stuff that matters.
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by m00dy on Thursday March 16, 2017 @10:23AM (#13885221)
I use greasemonkey on firefox. Recently, I have written a crawler for a major accomondation listing website in Copenhagen. Guess what? I got a place to live right in the center in 2 weeks. I love SCRAPERS I love CRAWLERS.
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by fenrisbear on Thursday March 16, 2017 @11:23AM (#13885743)
I did almost the same thing.

I used 1 week to selectively go through accommodations manually, then proceed to complain to a friend of mine.

She's barely human, and she found literary one-of-a-kind apartment dead center at a good price. The apartment was mine next day.

Human scrapers man.

Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by Solinoid on Thursday March 16, 2017 @11:57PM (#13891346)
Similarly I wrote a scraper for a local used item marketplace and whenever I need to purchase something that isn't urgent and I'm OK with it being second hand, I plug in the relevant stats and load it in to cron. Near instant notification with contact information and details in my email when a match is found.
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by ben_jones on Thursday March 16, 2017 @10:31AM (#13885281)
Well the problem is when someone scrapes ALL the good listings then pre-purchases them for resale at double the cost.
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by Raphmedia on Thursday March 16, 2017 @11:44AM (#13885955)
How is it different than paying 50+ low-wage remote workers to "scrape" the phonebook for you and then using the information acquired for profit?
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by greglindahl on Thursday March 16, 2017 @12:55PM (#13886593)
One difference is that Feist v. Rural Telephone says that the data in a phonebook can't be copyrighted.

https://en.wikipedia.org/wiki/Feist_Publications,_Inc.,_v._R....

Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by Raphmedia on Thursday March 16, 2017 @01:00PM (#13886647)
What about using those employees to "crawl" the web for you then?
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by greglindahl on Thursday March 16, 2017 @03:23PM (#13888241)
I suspect it's roughly the same as a crawer -- same issues of fair use, TOS/CFAA, etc -- but likely there's no expectation that humans will read and follow robots.txt.
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by timmaah on Thursday March 16, 2017 @02:09PM (#13887371)
I made a web app that does the same thing for campgrounds: http://reserve.wanderinglabs.com/

Fairly simple and it people seem to find it really useful.

Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by retube on Thursday March 16, 2017 @10:35AM (#13885309)
so can you use greasemonkey to follow links, load new page, parse new page, just like a headless crawler?
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by m00dy on Thursday March 16, 2017 @11:11AM (#13885638)
I think you can use a 3rd party backend service to store state of the crawler. So, when page reloads, you know which state you are in.
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by retube on Thursday March 16, 2017 @11:35AM (#13885866)
right. so basically a greasemonkey script is scoped to the current page? Is there any scripting solution that is not scoped to current page? In chrome maybe?
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by cryptarch on Thursday March 16, 2017 @11:39AM (#13885911)
Browser automation via (realistically Seleniun) WebDriver or a proxy that inserts scripts (like TestCafe).
Re:Web Scraping: Bypassing “403 Forbidden,” captchas, and more by tehlike on Thursday March 16, 2017 @12:25PM (#13886317)
selenium with webdriver(io) or phantomjs. I like selenium more, though.