Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.27 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.27 KB

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