Releases: byteface/domonic
URLSearchParams
URLSearchParams
me and https://6b.eleuther.ai/ knocked this out in an hour after reading...
https://jakearchibald.com/2021/encoding-data-for-post-requests/
probably woulda taken several. Should probs do that FormData one too. looks fun.
after
geom
been building up the geom classes using https://6b.eleuther.ai/
AI
AI just generated some code for this library. still a bit mind blown and will see if can do more with it.
basically go here...
paste in 90% of the working class but finish with a method name that is not done yet. and bingo. it writes your code!
dquery __getitem__
travis not building atm so this is verified by github actions.
upgrading requirements
added a dev requirements. a buildabot seems to have gone nuts over that and kicking off tons of travis builds. lol. it's only required for examples folder. will have to figure out how to ignore that one triggering builds. :S
events
º('a[rel=nofollow]')
dquery can do more complex selectors and doesn't behave like chrome $ for lists anymore
getElementsBySelector
Get DOM elements based on the given CSS Selector
https://simonwillison.net/2003/Mar/25/getElementsBySelector/ < original author
http://www.openjs.com/scripts/dom/css_selector/ < ported to support ','
https://bin-co.com/python/scripts/getelementsbyselector-html-css-query.php < ported to py2 (broken/bugs) *BSD LICENSED*
fixed and ported to py3 here. quite cool means other peoples code works on my dom :)
# TODO - needs to work in conjuctions with _matchElement so querySelector works a bit better and dQuery picks it up
# TOOD - *= node content
new test created:
python -m unittest tests.test_dom.domonicTestCase.test_dom_getElementsBySelector
extends and merge
couple of commands added and a bit of a houseclean