I've read through that (hard to read, because of the bad formatting) but I still don't understand why you would do that instead of Playwright, Puppeteer etc. - The only reason seems to be "This technique certainly has its limits.".
>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?
Web scraping with your web browser: Why not?
11–20 of 77 posts
Re: Web scraping with your web browser: Why not?
#12I've read through that (hard to read, because of the bad formatting) but I still don't understand why you would do that instead of Playwright, Puppeteer etc. - The only reason seems to be "This technique certainly has its limits.".
>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?
Re: Web scraping with your web browser: Why not?
#13Earlier quoted context omitted.
>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?
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.
You could also try zooming in. My apps don't expand to full width because of the video box but you can zoom.
Re: Web scraping with your web browser: Why not?
#14Earlier quoted context omitted.
>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?
The red text on a yellow background is not great. Neither is a serif font. Also it should be JavaScript with a capital S.
And Beautiful Soup should be BeautifulSoup. Who makes the rules?
Re: Web scraping with your web browser: Why not?
#15Re: Web scraping with your web browser: Why not?
#16Earlier quoted context omitted.
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.
I see. I don't have a wide-screen monitor (still using an old tube type until it finally expires but it's taking a few decades, lol). I've wondered whether people actually like reading websites on wide-screen. Some do and some don't. What would you suggest for a max width? You could also try zooming in. My apps don't expand to full width because of the video box but you can zoom.
Re: Web scraping with your web browser: Why not?
#17Earlier quoted context omitted.
The red text on a yellow background is not great. Neither is a serif font. Also it should be JavaScript with a capital S.
Red text on yellow - you mean the website? Would you like the text to be darker? And Beautiful Soup should be BeautifulSoup. Who makes the rules?
Margins would also be nice on the left and right.
Beautiful Soup is two words. Just look at their website.
Re: Web scraping with your web browser: Why not?
#18Completely agree with this sentiment.
I just spent the last couple of months developing a chrome extension, but recently also did an unrleated web scraping project where I looked into all the common tools like beautiful soup, selenium, playwright, pupeteer, etc, etc.
All of these tools were needlessly complicated and I was having a ton of trouble with sites that required authentication. I then realized it would be way easier to write some javascript and paste it in my browser to do the scraping. Worked like a charm!
Re: Web scraping with your web browser: Why not?
#19Earlier quoted context omitted.
>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?
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.
Re: Web scraping with your web browser: Why not?
#20Earlier quoted context omitted.
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.
Which places you, the reader, fully in control of the width of lines you prefer to see. Adjust your browser window width, or apply a user style sheet to tell your browser to format the text the way you want to see it formatted.
Of course it's always up to the site owner, but most people want people to read what they share.