by hamdingers · 9mo ago · 0 comments
I've done honeypot tests with links in html comments, links in javascript comments, routes that only appear in robots.txt, etc. All of them get hit.
This is what you should imagine when your site is being scraped:
def crawl(url):
r = requests.get(url).text
store(text)
for link in re.findall(r'https?://[^\s<>"\']+', r):
crawl(link)Even if it did have some effect down the line it wouldn't help sites like AA with their scraping problem, which is the issue at hand.