Commit Graph

40 Commits (main)

Author SHA1 Message Date
Guilian 5e8c023559
feat: add --markdown mode, + minor fixes 2025-02-05 13:50:15 +01:00
Guilian 59585919fb
chore: typo 2025-01-25 18:56:27 +01:00
Guilian 79cbc61bb0
chore: manpage 2025-01-25 17:39:31 +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 a88d21165c
chore: license 2025-01-20 22:58:55 +01:00
Guilian 4a63a5713b
chore: manpage 2025-01-20 22:24:40 +01:00
Guilian 7e6cbb3c43
feat: meaningful error codes 2025-01-20 22:18:26 +01:00
Guilian c4ae14df41
refactor: dot-less imports for luastatic compatiblity 2025-01-20 21:16:24 +01:00
Guilian 194ab5e1f9
fix: exit process with error codes 2025-01-20 19:30:11 +01:00
Guilian c72e178787
chore: update flags 2025-01-20 19:29:31 +01:00
Guilian b94a21cb2e
chore: --text usage 2025-01-20 17:20:28 +01:00
Guilian 1589f2f395
chore: indent 2025-01-20 17:18:02 +01:00
Guilian 19a8896978
feat: invert error printing flag
Just way too much output on standard webpages
2025-01-20 17:17:25 +01:00
Guilian 9fd8b3e15d
chore: compile to `htmlq` 2025-01-20 17:16:56 +01:00
Guilian 94f7694c1e
fix: read stdin properly 2025-01-20 17:05:44 +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 bd2b04216c
refactor: change -f to -1 to get one result 2025-01-20 17:03:32 +01:00
Guilian 763484013c
chore: remove test files 2025-01-19 16:42:52 +01:00
Guilian 17f29dbfef
chore: readme update 2025-01-19 16:42:22 +01:00
Guilian abacff6ec9
chore: add README with project overview, features, and usage instructions 2025-01-19 16:08:52 +01:00
Guilian fc3155e6d7
chore: gitignore 2025-01-19 14:30:13 +01:00
Guilian fd06af5983
fix: proper nil printing in logger 2025-01-19 14:19:49 +01:00
Guilian da51b3697e
feat: proper CLI usage in main 2025-01-19 14:18:43 +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 e9c2553f88
wip: select elements from html document and css selector 2025-01-18 18:54:18 +01:00
Guilian 0f4f9030aa
feat: CSS selectors 2025-01-18 18:53:18 +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