logoalt Hacker News

8chanAnon10/01/20243 repliesview on HN

>bad formatting

If you can elaborate, I would very much appreciate it. I'm always interested in doing better.

Why use Puppeteer etc. when you don't have to? What is the argument for using these additional tools versus not using them?


Replies

dewey10/01/2024

You don't have max-width set on the text, so unless you have your browser window resized to very small size the paragraphs will span your whole screen.

show 3 replies
gabrielsroka10/01/2024

The red text on a yellow background is not great. Neither is a serif font. Also it should be JavaScript with a capital S.

show 1 reply
ricardo8110/03/2024

Cloudflare et al do a lot of fingerprinting of the user agent. Any website that has 'high' anti-bot settings will return a 403 with anything but a browser. source: I've scraped lots of things.