Welcome to new things

[Technical] [Electronic work] [Gadget] [Game] memo writing

crawler (e.g. a web crawler or robot)

File drop with Selenium, puppeteer, and Playwright

For some time now, we have been putting together a list of how to use Selenium, puppeteer, and Playwright. Since the summary is getting long, I will put the operations that require some explanation and procedures in a separate article. Her…

Infinite scrolling with Selenium, puppeteer and Playwright

For a while now, I have been putting together a list of how to use Selenium, puppeteer, and Playwright. Since the summary is getting long, I will put the operations that require some explanation and procedures in a separate article. Here i…

Notes on how to use puppeteer

I had previously tested both Selenium and Playwright for comparison. Now that I've learned how to use them, I've compiled a brief summary of how to use them in the following article so that I can quickly recall them when I need to use them…

Notes on how to use Playwright

Since I have been experimenting with Playwright recently, I thought I would make a note of how to use Playwright so that I can remember how to use it again if I forget how to use it. install npm install --save playwright When Playwright is…

Selenium Usage Notes

Since I have been experimenting with Selenium recently, I thought I would make a note of how to use Selenium so that if I forget how to use it, I can remember again. install Selenium pip install selenium The browser and the WebDriver that …

Thoughts on using both Selenium and Playwright

I use Puppeteer for web crawling. I had hoped to someday put together a guide on how to use Puppeteer, but in the meantime, I have been hearing a lot about Playwright as a browser manipulation tool similar to Puppeteer. Then I started thin…

The story of how I moved to WSL2 because Puppeteer stopped working at WSL1.

I have been using WSL1 and was thinking of using WSL2 sometime in the future when it becomes more stable, but now I have moved to WSL2 out of necessity. I'm going to write about the transition from WSL1 to WSL2 and the related Docker and X…

Docker's puppeteer suddenly stopped working.

I usually use puppeteer for web crawling and I use Docker to run puppeteer. I had to add a crawl item and when I modified the program and built and ran it on Docker, it did not work with the following error. /node_modules/puppeteer/.local-…

How to output data from a Table tag table in Puppeteer crawling to CSV

We use Puppeteer as a crawler. Sometimes you are crawling and want to retrieve data from a table created by a Table tag on your site. With Python, this can be done elegantly by extracting only the tags below the Table tag from the html and…

How to run Puppeteer on a RaspberryPi

How to deal with the browser is not defined error when trying to run Puppeteer on a RaspberryPi. Reason When "Puppeteer" is installed by npm, Chromium is also newly installed in node_modules, and Puppeteer uses this Chromium by default. Ho…

The story of how I stopped using Docker on my Raspberry Pi.

It is fine to use Docker on the Raspberry Pi by itself, but it is not so easy to use Docker on the Raspberry Pi as a mini-server. impetus The server, which performs periodic crawls, was running on a desktop PC. Since we planned to prepare …