News for hackers. Stuff that matters.
Re:Show HN: Browsh – A modern, text-based browser by tombh on Tuesday July 10, 2018 @04:54AM (#17496364)
I've thought about this too, because https://text.brow.sh certainly does make scraping websites easy, you just need to `curl` and `grep`. But the trouble is, as I mentioned elsewhere in the thread, Browsh's text renderer is more of an art than a science, it doesn't guarantee consistent results for every render. Whereas of course downloading HTML and using something like Beautiful Soup does give a much better guarantee of consistency.
Re:Show HN: Browsh – A modern, text-based browser by bambataa on Tuesday July 10, 2018 @07:51AM (#17497229)
I don’t think that lack of consistency should stop you though. Ok maybe it wouldn’t be suitable for testing things but there are other uses for a headless browser