adom 0.0.3

Creator: railscoderz

Last updated:

Add to Cart

Description:

adom 0.0.3

adom
A domonic-like wrapper around selectolax
from dom import *
print(html(body(h1('Hello, World!'))))
# <html><body><h1>Hello, World!</h1></body></html>

from window import *
window.location = "https://www.google.com"
print( window.document.css('a') )
# [<Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>, <Node a>]

install
python3 -m pip install adom

CLI
To see the version:
domonic -v

To use css selectors on a website...
adom -q https://google.com a

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.