How To EASILY Scrape Google Maps With Nodejs, Getting Started With Puppeteer Automation | Tutorial

preview_player
Показать описание

#nodejs #puppeteer #googlemaps

🔥 Timestamps
00:00 Demo
00:18 Why I recorded this video
02:08 How does the parser work
02:32 Prerequisites
04:00 Boilerplate
05:45 How to open a google maps page with puppeteer
06:49 How to parse the name of a place
10:07 How to scroll down to fetch the rest of the places
12:59 How to go to the next page
15:22 How to navigate through the pages and parse places
16:53 How to stop running the loop
19:25 Final result
21:04 Afterword

💬 If you have something to share, I'm always waiting for your comments!

📺 Subscribe to my channel to improve your programming skills:

🎬 Other videos to watch

👉 Follow me here

👤 Connect with me

🔖 Topics covered
- How to install puppeteer with npm and nodejs
- How to run a headless browser
- How to use the puppeteer framework
- How to automate the parsing task
- How to parse the page (HTML, DOM) with puppeteer
Рекомендации по теме
Комментарии
Автор

Very very very very valuable information for free.

Sumdottycoy
Автор

I would love to hear if you have any idea how to scrap every place noticeable from lets say a town. Like stores, diners, government services, gas stations etc.

antonsimkin
Автор

very very good video, but I have question pleas, How can I get nearby police stations when I search for a specific location pleas

yahaialnuimi
Автор

What if I want to get the place name address url phone number ?
It will be slower, cuz it has to open each place. Or is there a faster method. Ofc without using the API

slimyitg
Автор

Your content is really nice, I hope you will get the views you deserve for this amazing content. I have one question regarding this scarping, is there anyway to get the coordinates of the location( in this exampel the restaurat) that would be usefull if you want to represent the info in your own map, thanks alot and keep up this amazing content.

mihai
Автор

How can i get the source code and for scrapping the data from google maps along with the coordinates of the location(longitude and latitude)

jayasimhareddy
Автор

Hey thanks for sharing it, i subs you 😃

Ngoding_wk
Автор

it's not working with page.click(), please help me sir

livbunthorn
Автор

after updating puppeteer waitForNetworkIdle seems to be broken in goToNextPage, I replaced it with waitForNavigation({ waitUntil: 'networkidle0' }) but then it parses some elements twice for some reason

ryannguyen