GithubHelp home page GithubHelp logo

Parou de funcionar about cnpj-gratis HOT 6 CLOSED

jansenfelipe avatar jansenfelipe commented on August 19, 2024
Parou de funcionar

from cnpj-gratis.

Comments (6)

jansenfelipe avatar jansenfelipe commented on August 19, 2024 1

Obrigado @eduardoazevedo3 @Marciobds @brunogoncalves

Versão 2.0.7 publicada com a correção

from cnpj-gratis.

Marciobds avatar Marciobds commented on August 19, 2024

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.

jansenfelipe avatar jansenfelipe commented on August 19, 2024

@Marciobds pode mandar um PR com a correção? Value amigo!!

from cnpj-gratis.

brunogoncalves avatar brunogoncalves commented on August 19, 2024

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.

Marciobds avatar Marciobds commented on August 19, 2024

@jansenfelipe feito pull request.
Abraço

from cnpj-gratis.

eduardoazevedo3 avatar eduardoazevedo3 commented on August 19, 2024

Funcionou perfeitamente, vlw.

Vou marcar como finalizado essa discussão.

from cnpj-gratis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.