Live data from Hacker News

Web Scraping: Bypassing “403 Forbidden,” captchas, and more

sangaline.com

21–30 of 232 posts

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#21
post #8
post #6

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.

so can you use greasemonkey to follow links, load new page, parse new page, just like a headless crawler?

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

#22
post #4
post #2

I've used antigate for captchas and ether Tor or proxies for 403s before. Usually the browser header alone does not help for long.

Anticaptcha and deatbycaptcha are some others. But it mames me feel sad to use them, as it exploits cheap labor overseas.

Most of the time they use OCR, humans are unreliable and rarely used.

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#23

Earlier quoted context omitted.

This is the first I've heard of this. Where/what laws prohibit web scraping?

It's almost always illegal in the United States. It's prohibited by a combination of the CFAA, copyright law, and contractual obligations imposed by Terms of Use, which are usually considered applicable if you load more than one page ("browsewrap"). The CFAA makes it a crime to access any computer network without authorization or in excess of granted authorization. The Terms of Use will usually prohibit "any automate…

There's even a very highly specific (online ticket sales) bill that passed congress: https://www.congress.gov/bill/114th-congress/senate-bill/318...

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#24
post #19

Note that in some places this constitutes breaking the law.

How is this any different from Google doing it? It is okay for Google to crawl the Internet, but not okay to crawl Google Play? Google raising such an objection would be an ultimate irony. Edit: On second thought, I guess you are referring to overcoming 403s and Captchas?

Unauthorized access, if you access the service in violation of their TOS then potentially they have a case against you. I'm not aware of it ever going to court in a case where they didn't also send a cease and desist.

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#25
post #19

Note that in some places this constitutes breaking the law.

How is this any different from Google doing it? It is okay for Google to crawl the Internet, but not okay to crawl Google Play? Google raising such an objection would be an ultimate irony. Edit: On second thought, I guess you are referring to overcoming 403s and Captchas?

Caching and indexing is allowed by specific laws under specific circumstances.

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#26
post #22
post #4

Earlier quoted context omitted.

Anticaptcha and deatbycaptcha are some others. But it mames me feel sad to use them, as it exploits cheap labor overseas.

Most of the time they use OCR, humans are unreliable and rarely used.

That doesn't seem to match the sales pitch at antigate.com, deathbycaptcha, etc.

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#27
post #6

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.

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

#28
post #22
post #4

Earlier quoted context omitted.

Anticaptcha and deatbycaptcha are some others. But it mames me feel sad to use them, as it exploits cheap labor overseas.

Most of the time they use OCR, humans are unreliable and rarely used.

no, at least antigate doesnt. When you hit recaptcha with known proxy urls (or generally hit it a few times per hour) the captchas get so bad that no OCR would be able to solve it, even humans struggle

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#29
post #19

Note that in some places this constitutes breaking the law.

How is this any different from Google doing it? It is okay for Google to crawl the Internet, but not okay to crawl Google Play? Google raising such an objection would be an ultimate irony. Edit: On second thought, I guess you are referring to overcoming 403s and Captchas?

The difference is that judges said it was OK for Google because Google is super cool. See Perfect 10 v. Amazon.

Re: Web Scraping: Bypassing “403 Forbidden,” captchas, and more

#30
post #21
post #8

Earlier quoted context omitted.

so can you use greasemonkey to follow links, load new page, parse new page, just like a headless crawler?

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.

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?
Post reply on HN