Funny, I saw this HN headline just after banning another scraper's IP range You're welcome to scrape my sites but please do it ethically. Idk how to define that but some examples of things I consider not cool: - Scraping without a contact method, or at least some unique identifier (like your project's codename), in the user agent string. This is common practice, see e.g.: https://en.wikipedia.org/wiki/User-Agent_head…
Scraperr – A Self Hosted Webscraper
61–70 of 96 posts
Re: Scraperr – A Self Hosted Webscraper
#62Funny, I saw this HN headline just after banning another scraper's IP range You're welcome to scrape my sites but please do it ethically. Idk how to define that but some examples of things I consider not cool: - Scraping without a contact method, or at least some unique identifier (like your project's codename), in the user agent string. This is common practice, see e.g.: https://en.wikipedia.org/wiki/User-Agent_head…
What do you have for log analytics and ban automation? Could you say more about how to identify these bad-bots?
Re: Scraperr – A Self Hosted Webscraper
#63Funny, I saw this HN headline just after banning another scraper's IP range You're welcome to scrape my sites but please do it ethically. Idk how to define that but some examples of things I consider not cool: - Scraping without a contact method, or at least some unique identifier (like your project's codename), in the user agent string. This is common practice, see e.g.: https://en.wikipedia.org/wiki/User-Agent_head…
I find it unethical for a website robots.txt to allow-list particular search engines and ban all others. Essentially you are colluding with established search providers.
But of course, the ones behaving badly tend to not respect the robots.txt, so you end up banning the IP or IP block.
And here, I am a nice guy, the crawler must really be a piece of crap for me to start to block.
Re: Scraperr – A Self Hosted Webscraper
#64Earlier quoted context omitted.
What do you have for log analytics and ban automation? Could you say more about how to identify these bad-bots?
There is no automation, I use `tail -f access.log` I just look at what's happening on my server every now and then. Sometimes not for months, but then when I set up a project like that caching proxy, I'm currently keeping a more regular eye to see that crawlers aren't bothering the upstream via me. Most respect the robots policy, most of the ones that don't set a user agent string that include the word 'bot' and so I…
Re: Scraperr – A Self Hosted Webscraper
#65Shameless plug: prefix any URL with https://pure.md/ to get the pure markdown of that page. Useful for direct piping into an LLM. Has bot detection avoidance, proxy rotation, and headless JS rendering built in.
Re: Scraperr – A Self Hosted Webscraper
#66Earlier quoted context omitted.
There is no automation, I use `tail -f access.log` I just look at what's happening on my server every now and then. Sometimes not for months, but then when I set up a project like that caching proxy, I'm currently keeping a more regular eye to see that crawlers aren't bothering the upstream via me. Most respect the robots policy, most of the ones that don't set a user agent string that include the word 'bot' and so I…
Interesting. Our open-source platform [1] has the capacity to help with all of this through a GUI and rule engine, but I'm still concerned about whether we should present this way of bot hunting as a feature. I worry that this approach may be irrelevant in today's context. [1] https://github.com/TirrenoTechnologies/tirreno
So i'd expect an uptick in bots as everyone races to try and compete with google on data hoarding
Re: Scraperr – A Self Hosted Webscraper
#67Earlier quoted context omitted.
That's awesome. Thanks for sharing. First time hearing of the fetch() approach! If I understand correctly, regular browser automation might typically involve making separate GET requests for each page. Whereas the fetch() strategy involves making a GET for the first page (just as with regular browser automation), then after satisfying cloudflare, rather than going on to the next GET request, use fetch( ) to retrieve…
Almost. I mean it's not like fetch(..) is going to lead to some esoteric kind of HTTP request method. I am guessing parent comment is saying what it is saying because fetch will utilize the cookies and other crumbs set by the successful completion of the captcha. If you can take all those crumbs and include it in your next GET request, you don't need to resort to utilizing fetch.
Re: Scraperr – A Self Hosted Webscraper
#68Earlier quoted context omitted.
Pack ad blockers into your containers. They can be loaded into Chrome and help immensely in suppressing popovers while crawling.
Thank you, I'll experiment with that. Tips and advice welcome!
Just request the html and cap down all the other stuff
PS: I also think this has the nice side-effect of you consuming less resources (that you didnt care about/need anyways) from the server, so win win
Re: Scraperr – A Self Hosted Webscraper
#69Funny, I saw this HN headline just after banning another scraper's IP range You're welcome to scrape my sites but please do it ethically. Idk how to define that but some examples of things I consider not cool: - Scraping without a contact method, or at least some unique identifier (like your project's codename), in the user agent string. This is common practice, see e.g.: https://en.wikipedia.org/wiki/User-Agent_head…
I find it unethical for a website robots.txt to allow-list particular search engines and ban all others. Essentially you are colluding with established search providers.
Re: Scraperr – A Self Hosted Webscraper
#70Earlier quoted context omitted.
Interesting. Our open-source platform [1] has the capacity to help with all of this through a GUI and rule engine, but I'm still concerned about whether we should present this way of bot hunting as a feature. I worry that this approach may be irrelevant in today's context. [1] https://github.com/TirrenoTechnologies/tirreno
I mean if anything with AI data and main sources are becoming the actual precious resource again. So i'd expect an uptick in bots as everyone races to try and compete with google on data hoarding
However, I see the development of new bot types that tackle security in more aggressive ways. It's not just simple SQL injection as it was before, but more sophisticated and custom bots that not only request but also push a lot.
Or just a couple of days ago, I found a new type of bot that "brute-forces" website folder structure. ~205,000 requests in a couple of days.
These new bots are probably not directly the work of AI, but they seem to be a consequence of it.