Skip to content

Simple way of using Puppeteer to get valid address of a giving CEP on Correios website.

Notifications You must be signed in to change notification settings

Marcel-MSC/Puppeteer-correios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project logo

puppeteer-correios

Status License


It's a simple use of Puppeter to get a photo of a giving CEP.

📝 Table of Contents

🧐 About

Open a headless browser go navegate to a URL of Correios and take a photo of the address found.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites

Change the second param of the type function to a valid CEP to search.

await page.type('#endereco', '03336000');

Installing

npm install
npm run start

🎈 Usage

Search a valid CEP string and take a photo of the result.

✍️ Authors

About

Simple way of using Puppeteer to get valid address of a giving CEP on Correios website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published