{"id":25002072,"url":"https://github.com/fellipeafonseca/prj_python_automacaoconsultacnpj","last_synced_at":"2026-04-27T17:33:33.498Z","repository":{"id":275559036,"uuid":"926443231","full_name":"fellipeafonseca/prj_python_automacaoConsultaCNPJ","owner":"fellipeafonseca","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-03T09:36:29.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T11:13:26.306Z","etag":null,"topics":["python","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fellipeafonseca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-03T09:08:49.000Z","updated_at":"2025-02-05T13:31:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"c878b81e-fa02-4524-a17a-8849d8677af5","html_url":"https://github.com/fellipeafonseca/prj_python_automacaoConsultaCNPJ","commit_stats":null,"previous_names":["fellipeafonseca/prj_python_automacaoconsultacnpj"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fellipeafonseca/prj_python_automacaoConsultaCNPJ","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellipeafonseca%2Fprj_python_automacaoConsultaCNPJ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellipeafonseca%2Fprj_python_automacaoConsultaCNPJ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellipeafonseca%2Fprj_python_automacaoConsultaCNPJ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellipeafonseca%2Fprj_python_automacaoConsultaCNPJ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fellipeafonseca","download_url":"https://codeload.github.com/fellipeafonseca/prj_python_automacaoConsultaCNPJ/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fellipeafonseca%2Fprj_python_automacaoConsultaCNPJ/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262731689,"owners_count":23355401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","selenium"],"created_at":"2025-02-04T21:23:31.174Z","updated_at":"2026-04-27T17:33:33.453Z","avatar_url":"https://github.com/fellipeafonseca.png","language":"Python","readme":"\n# 🚀 Automação de Consulta de CNPJ com Python\n\nEste projeto utiliza **Python, Selenium e OpenPyXL** para automatizar a consulta de **CNPJs** em um site e salvar os dados extraídos em um arquivo **Excel**. 📊  \n\n💡 **Objetivo**: Automatizar tarefas repetitivas e demonstrar como a **RPA (Robotic Process Automation)** pode melhorar a produtividade.\n\n---\n\n## 📋 **Pré-requisitos**\n\nAntes de executar o projeto, instale os seguintes softwares:\n\n- **Python** (Versão 3.8 ou superior) → [Baixar aqui](https://www.python.org/downloads/)\n- **Google Chrome** (Versão mais recente) → [Baixar aqui](https://www.google.com/chrome/)\n\n---\n\n## 🔧 **Instalação**\n\n1. **Clone o repositório**  \n   ```bash\n   git clone https://github.com/fellipeafonseca/prj_python_automacaoConsultaCNPJ.git\n\n## 📦 Bibliotecas utilizadas:\n- selenium\tPara automação do navegador\n- webdriver-manager\tGerencia o ChromeDriver automaticamente\n- openpyxl\tManipulação de arquivos Excel\n\nCaso precise instalar as bibliotecas manualmente, execute:\n- pip install selenium webdriver-manager openpyxl\n\n\n## ▶️ Como executar a automação\n1. Edite o arquivo main.py e adicione os CNPJs que deseja buscar:\n\n- cnpjs = [\"00.000.000/0001-91\", \"90.400.888/0001-42\"]\n\n2. Execute o script Python\n- python rpa.py\n\n4. Após a execução, os resultados estarão no arquivo dados_cnpj.xlsx na pasta \"C:\\Temp\" 🎯\n\n## 🎥 Demonstração da Automação\n\nhttps://github.com/user-attachments/assets/357c83b6-48b5-4cd6-8541-945ef381369f\n\n![image](https://github.com/user-attachments/assets/5310a3a8-cdcb-43b3-bf88-cbb754fe114d)\n\n\n## 🤝 Contribuições\nSinta-se à vontade para sugerir melhorias e abrir issues/pull requests!\n\n📩 Contato: \n- fellipefonseca76@gmail.com\n- https://www.linkedin.com/in/fellipe-fonseca/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffellipeafonseca%2Fprj_python_automacaoconsultacnpj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffellipeafonseca%2Fprj_python_automacaoconsultacnpj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffellipeafonseca%2Fprj_python_automacaoconsultacnpj/lists"}