Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pguardiario/scrape-google-maps
Scrape google maps data from any html
https://github.com/pguardiario/scrape-google-maps
Last synced: 21 days ago
JSON representation
Scrape google maps data from any html
- Host: GitHub
- URL: https://github.com/pguardiario/scrape-google-maps
- Owner: pguardiario
- Created: 2023-10-19T01:56:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-23T00:53:46.000Z (about 1 year ago)
- Last Synced: 2024-11-06T06:14:04.829Z (2 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scrape-google-maps
Scrape google maps data from any html## install
npm i --save scrape-google-maps## use
```javascript
const puppeteer = require('puppeteer')
const parse = require('scrape-google-maps')async function run(){
let browser = await puppeteer.launch()
let page = await browser.newPage()
await page.goto("https://www.google.com/search?q=hardware+store+nyc")
let parsed = parse(await page.content())
await browser.close()
console.log(parsed)
}run()
```If you use this project please consider [supporting my work](https://www.buymeacoffee.com/pguardiario)