Today's thought experiment for my web crawler development is about how to improv...

@amin@polymaths.social

Today's thought experiment for my web crawler development is about how to improve my adtech/tracker detection. Currently, I'm just blocking by hostname, which has a lot of false negatives.

What I want to do is allow importing a standard adblock list like EasyList… I've been thinking over implementation a bit (can't find any libraries that do quite what I want in Python), and I'm wondering if I could actually do this fully in the database. Postgres has pattern matching capabilities, and I did find a library that'll parse the lists for me, so surely I could get that working?

The question is if it would be performant, but I think it could be…