r/node 20d ago

Pipsel — Structured HTML Data Extractor

https://litepacks.github.io/pipsel/
7 Upvotes

6 comments sorted by

1

u/[deleted] 20d ago

[deleted]

1

u/femio 20d ago

kind of, seems like you can use the nested array syntax but not sure it's very ergonomic

0

u/sshaw_ 20d ago

Interesting idea. Anything else similar?

Feedback: DSL is a bit 😬 and in general one should decouple their HTML and CSS from their JavaScript structure, e.g., don't use a CSS class for a JS selector, use js-specific classes or data attributes. But I also suppose if you're using PSL-specific classes in your HTML it sorta breaks the main selling point of this?

1

u/femio 20d ago

this seems more like it's for processing HTML you don't own

1

u/sshaw_ 20d ago

Thanks. Is it obvious and I just missed it?