adom
A domonic-like wrapper around selectolax
from dom import *
print(html(body(h1('Hello, World!'))))
# Hello, World!
from window import * window.location = "https://www.google.com" print( window.document.css('a') ) # [, , , , , , , , , , , , , , , , , ]
install
python3 -m pip install adom
CLI
To see the version:
adom -v
To use css selectors on a website...
adom -q https://google.com a
Discord
There's a discord for domonic to talk about python/doms etc. It can be used for this as well. I check there 2 or 3 times a week or post updates there.