chris613
2020-2-23 21:13:30
I’m trying to do some web scraping stuff, and im struggling to find enough documentation / examples of se-paths currently im just experimenting with (se-path? and various combinations like (se-path? '(script #:type "text/javascript"))
chris613
2020-2-23 21:13:50
would any friendly folks be able to point me in the direction fo some learning material possibly :slightly_smiling_face:
chris613
2020-2-23 21:16:44
what im tryign to do is specify a selector which include attribute values e.g. script[type="application/ld+json"]
chris613
2020-2-23 21:17:15
(se-path? '(script #:type)) is valid
chris613
2020-2-23 21:17:27
but ive no idea how to speifcy the type value
philip.mcgrath
2020-2-23 22:25:33
@chris613 Honestly, I find it easier to just walk the tree with match.