Giter VIP home page Giter VIP logo

Comments (5)

jmriebold avatar jmriebold commented on August 11, 2024 1

Thanks! I'll take a look.

from boilerpy3.

jmriebold avatar jmriebold commented on August 11, 2024

Hi @AhmedNourJamalElDin, I've come across that a few times as well, but haven't ever investigated the cause. Do you have any snippets that will reproduce the issue?

from boilerpy3.

AhmedNourJamalElDin avatar AhmedNourJamalElDin commented on August 11, 2024

I have opened a web page using chromium, then copied the html and passed it to get_doc of CanolaExtractor

TBH, I have two services, one to download the webpage using chromium, and the other one is Boilerpipe to extract the info of the webpage. When the first service downloads the page, it makes a request to boilerpipe service to extract the info. At this point, I get an empty content with the warning in the issue:

WARNING:boilerpy3:Warning: SAX input contains nested A elements -- You have probably hit a bug in your HTML parser (e.g., NekoHTML bug #2909310). Please clean the HTML externally and feed it to BoilerPy3 again. Trying to recover somehow..

from boilerpy3.

jmriebold avatar jmriebold commented on August 11, 2024

Yeah, we have a similar setup. Do you have some HTML that will reliably generate this error? I need an example to use while investigating the issue.

from boilerpy3.

AhmedNourJamalElDin avatar AhmedNourJamalElDin commented on August 11, 2024

Here is a link: http://www.elaosboa.news/21432
and its html as file: malformed.zip

from boilerpy3.

Related Issues (4)

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.