Commit Graph

20 Commits (main)

Author SHA1 Message Date
Guilian 5e8c023559
feat: add --markdown mode, + minor fixes 2025-02-05 13:50:15 +01:00
Guilian 4af0f68fa9
feat: print select attribute of matched elements 2025-01-25 17:31:09 +01:00
Guilian 40c4b464dc
refactor: simplify 'skipping' mechanism 2025-01-25 17:05:40 +01:00
Guilian 554daec953
refactor: improve quoted values matching 2025-01-25 17:01:50 +01:00
Guilian f25ecbe0cc
fix: include all of the attribute value 2025-01-25 17:00:18 +01:00
Guilian c4ae14df41
refactor: dot-less imports for luastatic compatiblity 2025-01-20 21:16:24 +01:00
Guilian 1589f2f395
chore: indent 2025-01-20 17:18:02 +01:00
Guilian 79d6a8f77d
feat: attribute selection 2025-01-20 17:05:29 +01:00
Guilian c923159d7a
feat: get element inner text (--text option) 2025-01-20 17:05:04 +01:00
Guilian f5a4a81147
feat: global logger module 2025-01-19 14:16:42 +01:00
Guilian a8a295aaf1
fix: ignore empty words in tokenisation 2025-01-19 14:00:13 +01:00
Guilian feb98ab5ab
fix: remove empty lines around printed html 2025-01-19 13:47:54 +01:00
Guilian 76d7f2e67b
fix: proper printing of document 2025-01-18 18:52:52 +01:00
Guilian e94cdc1260
feat: match selector to document,+ helper methods 2025-01-18 18:52:17 +01:00
Guilian fe9ea4eaec
refactor: get_next_sibling, singular 2025-01-18 18:50:38 +01:00
Guilian 71642b4884
fix: fix issue with clean_text_nodes modifying arrary while iterating on it 2025-01-18 18:50:03 +01:00
Guilian 968b3424cb
feat: class attribute support 2025-01-18 15:45:11 +01:00
Guilian fc026a30f5
refactor: pseudo-elements use : instead of # prefix 2025-01-18 13:14:05 +01:00
Guilian 8937c1d496
feat: DOM element child index and next siblings methods 2025-01-18 13:03:01 +01:00
Guilian 111da7d663
feat: html parsing
Also, initial commit :)
2025-01-14 19:50:11 +01:00