Re:EWW: Emacs Web Wowser
by mullikine on Friday September 11, 2020 @06:13AM
(#24441026)
i really enjoy using eww browser for at least 30% of my browsing. it's very hackable -- you can easily hook into its code to make handlers for different urls, load differently, render differently per website, etc.. i usually open up eww when i want to properly digest a website too, or create a bookmark or link to a part of a website. eww is great!
[ Parent
| on HN ]
Recently I've been prioritizing sites that don't use require JavaScript, and therefore have been using Eww a lot more (I'll still often escape out to Firefox).
But I love that I can write lisp macros to scrape out data - it's like a cooler GreaseMonkey... though I haven't found a good jQuery-like way to get at elements... any ideas?
firstly, it is possible to get the javascript-generated dom in eww:
https://www.reddit.com/r/emacs/comments/heaoiu/weekly_tipstr...
as for looking into elements -- i would probably access the dom and put it through xpath or something. sounds like a challenge