Selecting rss tags containing ':' with hxt

48 views Asked by At

I'm trying to parse some rss that looks like

<itunes:duration>01:57:45</itunes:duration>   

When I try

doc >>> css "itunes:duration" /> getText

I get

*** Exception: src/Text/HandsomeSoup.hs:(79,9)-(84,35): Non-exhaustive patterns in function makePseudo

I feel like it's probably something to do with hxt reading the colon as a HandsomeSoup css selector, but I know very little about css. Is there some way to escape it or something I'm missing?

0

There are 0 answers