Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
11–20 of 26 posts
Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#12Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#13It is not just Amazon (although they're #4 on my list of bad actors)[1]. 1. https://files.littlebird.com.au/bad-scrapers.png
Another detail: the scraper did not attempt to access the endpoints immediately (as it did for hrefs in htmls) but it did it on the day after, twice.
Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#14It is not just Amazon (although they're #4 on my list of bad actors)[1]. 1. https://files.littlebird.com.au/bad-scrapers.png
Yeah it's not just Amazon, but so far Amazon was the only one specifically looking for URLs in source code. Interestingly it ignored URLs in the fake markdown docs. Another detail: the scraper did not attempt to access the endpoints immediately (as it did for hrefs in htmls) but it did it on the day after, twice.
1. https://developer.amazon.com/amazonbot/searchbot-ip-addresse...
Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#15Earlier quoted context omitted.
Yeah it's not just Amazon, but so far Amazon was the only one specifically looking for URLs in source code. Interestingly it ignored URLs in the fake markdown docs. Another detail: the scraper did not attempt to access the endpoints immediately (as it did for hrefs in htmls) but it did it on the day after, twice.
Was it actually an Amazon bot IP[1] or someone pretending to be on AWS? 1. https://developer.amazon.com/amazonbot/searchbot-ip-addresse...
They also show up in AbuseIPDB with multiple reports.
Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#16Assuming your site has no dependency on Amazon EC2: fetch_aws() { curl -s \ -H "Accept-Charset: UTF-8" \ -H "Accept-Encoding: gzip, deflate" \ -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \ -H "Accept-Language: en" \ -H "User-Agent: Mozilla/5.0 (Windows NT 11.1; rv:102.0; ) Gecko/20100101" \ -H "Cache-Control: 0" \ -H "Host: ip-ranges.amazonaws.com" \ -H "Connection: keep-alive" \ --re…
Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#17Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#18It is not just Amazon (although they're #4 on my list of bad actors)[1]. 1. https://files.littlebird.com.au/bad-scrapers.png
Just make sure you have a good lawyer.
Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#19It is not just Amazon (although they're #4 on my list of bad actors)[1]. 1. https://files.littlebird.com.au/bad-scrapers.png
Perhaps you need a TOS that requires a usage fee be mailed to a PO Box that has a reasonable "free" limit of like 100$ and when they exceed it, you automatically mail them a copy of the TOS, the logs and an invoice. Just make sure you have a good lawyer.
because idk i could be wrong but some small project vs a 2.5T market cap company is gonna need more than “a good lawyer”
Re: Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
#20Earlier quoted context omitted.
My concern is more in relation to trying to use an endpoint from non-public source code, it seems negligent to randomly try endpoints like this
Whether it’s negligent isn’t terribly relevant. Is it illegal? It is not, they aren’t bypassing access controls. No different than using Shodan, scanning public IPs, crawling open directories, etc. It would be different if they were attempting to brute force credentials to access an endpoint, but they aren’t.
Weev went to jail for accessing public api's, https://en.wikipedia.org/wiki/Weev#AT&T_data_breach
> The flaw was part of a publicly-accessible URL, which allowed the group to collect the e-mails without having to break into AT&T's system.
It was argued that he didn't circumvent, but it didn't stop them from putting him in jail initially.