Why not both? I use python lxml for the heavy lifting (XPath queries ftw!) and drop into BS4 if the markup is trash.
Also, check out `parsel`—it’s like lxml but with CSS selectors. Best of both worlds? Maybe.
Docs are still a pain tho. 😅
Also, check out `parsel`—it’s like lxml but with CSS selectors. Best of both worlds? Maybe.
Docs are still a pain tho. 😅
