Comments (6)
Obrigado @eduardoazevedo3 @Marciobds @brunogoncalves
Versão 2.0.7 publicada com a correção
from cnpj-gratis.
Bom dia,
estive verificando o motivo de ter parado de funcionar e fiz uma alteração no arquivo
src/CnpjGratis.php adicionando > div após o body na chamada de filter conforme segue abaixo:
linha 101:
if ($crawler->filter('body > div > table:nth-child(3) > tr:nth-child(2) > td > b > font')->count() > 0)
linha 104:
$td = $crawler->filter('body > div > table:nth-child(3) > tr > td');
Isto resolveu para mim.
from cnpj-gratis.
@Marciobds pode mandar um PR com a correção? Value amigo!!
from cnpj-gratis.
Fiz a alteração aqui tb e funcionou, por favor coloquem a correção na branch 2.0 para que no próximo composer update já esteja tudo certo
from cnpj-gratis.
@jansenfelipe feito pull request.
Abraço
from cnpj-gratis.
Funcionou perfeitamente, vlw.
Vou marcar como finalizado essa discussão.
from cnpj-gratis.
Related Issues (20)
- Versão para Laravel 5 HOT 1
- base_dir HOT 1
- QSA HOT 4
- Erro ao instalar no Laravel 5.2 HOT 1
- Exibir Inscrição estadual? HOT 3
- Composer.json HOT 4
- Issue ao "errar" o captcha
- Undefined index "Telefone"
- Undefined index: cep HOT 5
- Erro na Consulta
- Pacotes Symfony CSS-Selector conflitando com cpf-gratis e cep-gratis HOT 2
- Erro Captcha HOT 4
- Laravel 5.6 HOT 6
- Laravel 5.6 -> Não instala HOT 7
- Solução para lentidão ao atualizar o captcha
- Problema no Retorno HOT 3
- Atualização com a novas urls HOT 1
- Qual a ordem das coisas? HOT 2
- O serviço parou de funcionar? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnpj-gratis.