Blog
January 25, 2024

Scrape UNLIMITED Leads From Google Maps for FREE


Featured image for “Scrape UNLIMITED Leads From Google Maps for FREE”

You can extract tons of great Information directly off of Google Maps All for free and in this video I'm going To show you my brand new web scraper That I put together that allows me to Extract company names ratings number of Reviews addresses phone numbers websites And even potentially emails all with the Click of a button for free on your local Machine I'll have links down the Description below to where you can get All the program files I'm about to show You and I'm going to walk you through Step by step of how this works and how You can get l list like this for free From Google Maps in just a couple of Minutes before I get into it if you want To work with me in any kind of AI or Automation Project Feel free to book a 15-minute call with me down the Description below but anyway let's get Into the video so to show you how it Works I have two different JavaScript Files that I've made if you want to see Exactly how I made these web scrapers You can come up to this video here where I make this exact same thing step by Step but I'm just going to show you how It works right now the only only thing That you need for this is the name of Your CSV file and then the Google URL That we're going to be scraping so we're Going to want to head on over to Google Maps and then from here we can pick

Anywhere that we want to scrape a data From so I'm going to go with Nashville For this example and then we're just Going to come up here to the Google Search maps and type in dentist so now That we're on our lists of dentists what We're going to do is then take this URL Up here copy it up here come back over To our scraper we're going to put it in Here paste that URL right in there and Then I'm going to change the name to Dentist and then all we have to do is Come down to our terminal we can make a New terminal up here type in node Scrape.on the speed of your computer and Local machine you'll get a perfectly Good CSV file with all the relevant Information you need you'll see it'll Start printing out batches when it's Completed if you didn't know Google Maps Puts about roughly 120 different Businesses on the left side here that's The maximum amount that I've seen and Like I said we're going to get things Like the name the rating the website the Phone number the address and we're just Going to let it do its thing it does a Total of 24 batches at a maximum so for Instance if your Google search only has Like 50 results then it will only do 10 Batches because it does five businesses Per batch so in this case because we're Going to have 120 businesses it'll do Around 24 completed batches here all

Right so this one took just under a Minute and it did have batch 25 which is Pretty interesting let's see if it added More than 120 and 122 here so I guess Sometimes it might get a little bit more But a minute later we have this dentist. CSV and if I open this up in Excel here You'll see we have a massive Excel sheet If I can zoom in of our name of our Business the rating of our business the Reviews it has what kind of category It's in the address if they have a Website and then also any relevant phone Numbers and then the Google URL here so We can go through and we can open their Business up and we can make sure it's Correct and look at that there it is got The address the category number of Reviews the rating and the name for Everything here which is amazing but we Can even take this one step further and That's to use the website scraper so if We want to grab emails for let's just Say this business here had an email on Their website maybe somewhere down here At the bottom we can then use our other Script here which is website. JS and That will allow us to go through each of The website links and then check to see If there's any emails on those pages so To get this to work we're going to want To change our base URL to what we named It before which is dentist and then We're also going to want to change the

Time delay you can play around with this If you want honestly this code Specifically is a little bit buggy so I Like to keep it pretty quick just cuz I Don't really care about the emails but If if you want I would maybe leave it at Like 5 to 10 and then also if you want To filter out any kind of email if There's any emails with extensions like This I just filtered them out Automatically and then we just type in Node Website.jpg Kind of fast but if it does open up and Find something instantly it will add it To the list so when real quick but if it Found any emails it'll make dentist Emails. CSV there is another CSV file we Can open and if we head all the way to The very end you'll see we have Potentially some emails here so I don't Know how many it grabbed but we've got One here and one here and a couple down Here honestly I'd probably slow this one Down so it has more time to open up the URLs and grab it but you can play around With it if you need that for your lead List but that's pretty much how it works In a nutshell all you have to do is just Input this into here input your URL and Then you have your list ready to go and If if you want the emails you can use This one you put in the name put in how Long you want the delay to be and then

Add any filters type in the command and Then you're ready to go but also I want To show you guys one more method in case You don't want to use this on your own Machine I got you covered there too but As of recently I've been messing around With appify which been a great way to Make web scrapers on the internet and I've put this exact web scraper at least The first part of it up on appify for You guys to use so this will print out Exactly what you see here the dentist. SV but it's online for you to use Completely free so if you don't want to Install anything then this is the tool For you once you head on over to ampify And log in the only thing that you're Going to have to pay for is the usage Costs so if the web scraper runs for Like 10 minutes and you'll have to pay For the amount of time that it's been Run for which comes up to like 10 or 20 Cents and I know appify has their own Google Maps scraper but in my opinion it Blows cuz it's super slow and takes Forever and you only get like a couple Leads the one I've made is super quick And super efficient and it cuts down Down the time like by a quarter but all You have to do is come over to the input Tab here input your list URL and then Click on Save and start you can keep the Run options the same in this case we're Not going to change anything but once

You have it started it'll bring you Right over to the Run tab here and you Can see I already have one ready to go But it basically does the same thing Where it processes the badge processes Each URL and then pushes it to our Results page so you can see for this one It it took about 6 minutes at about 17 Cents of usage personally I like doing It on my computer because if you have a Good computer this only took around like A minute to get this result but if you Want to do it on the web you can do it Through this like I said takes about 6 Minutes to finish sometimes a little Less sometimes a little more but that's For 120 results we can check out the log Here which will show us everything that Has been scraped but once we want our Information we can come on to the output Tab here click on the table and then we Have the table of all of our information Right here same as what we would see on Our CSV file so we can click on export 120 results down here click on our Excel File I'll download it and if we open it Up you'll see we get a similar CSV file Just kind of in a bit of a different Layout here because they print in order Of the headers up here of all of our Relevant information so I have a link For this tool down description below if You want to go this route instead but if You want to install this tool on your

Own local machine I got you cover in the Description below I'll have a link where You can download both of the files that I have put together I also include the Optimize file for you guys because I Might make some tweaks of this in the Meantime but you're going to want to go Down there below and you're going to Want to download the scrape JS and the Web JS file I'm going to head on over to A brand new command terminal I'm going To head on over to a brand new window in VSS code so if you don't have VSS code Installed on your machine already make Sure to do so and for this because we're Using JavaScript libraries we are going To be using node.js so come on over to The no JS website and install the latest Version here and you'll be all set and Ready to go we're going to want to Install this command here and that's mpm Install play right CSV parser and CSV Writer and you just paste that right Into here and click on enter and what This will do is this will set up a very Simple node package with playright CSV Parser and CSV writer and if you're not Using the email script you really only Need to use playright this is only if You want to use the email portion of the Other script but but from here you're Pretty much ready to go what we'll do is You'll download those files and you'll Just put them right in this folder here

So I'm going to paste these two files Here and you're all ready to go from Here you can just type in at the bottom Here make sure in the right directory of Where your little project is Type in Node Scrape.on type and it will just go off And do its thing and what this basically Does is it opens up playright which is a Web scraping tool for JavaScript and it Goes to this URL and then it Scrolls Down on the page gets all of the pages And then goes through each of those Pages and extracts things like the name The rating reviews categories address Website phone number things like that And you can see it's cranking away at The bottom right here and as I mentioned Before this is really dependent on how Fast your machine is I have a 3080 and Like 30 gigs of RAM with like I don't Even know the processor I have anymore But it took literally just just exactly Almost exactly a minute here and then we Have our dentist. CSV file right here I Don't know why the other one had badge 25 that was really weird out of 24 Batches we have our 120 Contacts Plus Our little plus our information up here And there you go you can put in any kind Of URL you want in there name it Whatever you want and the same thing Goes for website so once you have this In here you're all ready to go and you

Can just type in node [Music] Website.jpg so you have a lot of options To scrape on Google Maps for free and I Hope you guys got something out of this Video so that's going to do it for me in This video I'll have links to where you Can download both of the files the Command and also the appify page if you Want to use this online instead of Installing it for yourself this was just A fun automation project I put together So if you enjoyed it make sure to leave A like And subscribe it really really Really does help me out and also like I Said if you want to work with me feel Free to book a time with me down in the Description below but if you want to Know exactly how I put this web scraper Together you can head over to this video Here where I show you exactly step by Step what I did to build this web Scraper you don't have to know how to Code at all all you need to have is a Willingness to learn and hopefully a Computer so if you're interested in Learning more I'll see you guys over in That video