Comments (5)
Thanks! I'll take a look.
from boilerpy3.
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.
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.
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.
Here is a link: http://www.elaosboa.news/21432
and its html as file: malformed.zip
from boilerpy3.
Related Issues (4)
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 boilerpy3.