suaviloquence / scrapelect

Declarative web scraping DSL with CSS-inspired syntax
https://suaviloquence.github.io/scrapelect/
Apache License 2.0
4 stars 0 forks source link

Output in specified order, not alphabetically #31

Open suaviloquence opened 3 months ago

suaviloquence commented 3 months ago

Probably change the output type of the bindings BTreeMap to (usize, Value) and then sort_by_key(|x| x.0) when outputting, where the first item in the tuple is the index of the statement (an index per scope, stored in elementcontext)