Tadpole the Language for Scraping 0.2.0 – Complex Control Flow, Stealth and More
2 コメント
This seems neat. My previous experience has been with scrapy, but if you're using books.toscrape, then you probably already know of it.
I'll keep this in mind as an alternative next time I'm scraping something.
I'll keep this in mind as an alternative next time I'm scraping something.
Thanks! I've uesd Scrapy before, I like it a lot. This is built around CDP and uses an actual browser so it supports client side rendered content as well. I am adding a feature specifically for static HTML parsing for performance reasons in my next release. It's useful to have both.
I posted a few weeks ago about my custom scraping language. It definitely got some traction, which was very exciting to see.
Github Repo: https://github.com/tadpolehq/tadpole Docs: https://tadpolehq.com/
The past 2 weeks, I've been focusing my efforts in introducing specific stealth actions, more complicated control flow actions and a lot of various evaluators for cleaning data.
Here is an example for scraping from `books.toscrape.com`
I've introduced actions like `apply_identity` to override User Agent Headers and User Agent Metadata. Here is an example module to selectively create different identities:
The full release changelog is available here: https://github.com/tadpolehq/tadpole/releases/
My goals for the next 0.3.0 release is to heavily focus on Plugins, Distributed Execution through Message Queues, Redis Support for Crawling, Static Parsing as opposed to exclusively over CDP/Chrome.
I will keep trying to keep my release cadence at every 2 weeks!