Comments (5)
Hi @kianwilcox, the package mainly focuses on text and tries to get rid of unnecessary sections. It could be that the central images are wrongly considered to be off-limits or that the div/picture/img
nesting confuses the extractor.
from trafilatura.
from trafilatura.
The extraction implies to get clean HTML and convert elements, maybe the images get discarded here:
trafilatura/trafilatura/htmlprocessing.py
Line 48 in 123414c
Or maybe they are not handled correctly by this part of the code:
trafilatura/trafilatura/core.py
Line 430 in 123414c
I guess the issue could have something to do with it but I lack time to test it right now. I'll come back to it later if you don't find anything.
from trafilatura.
There are definitely missing images, see discussion above.
from trafilatura.
Related Issues (20)
- Function to use part of the heuristics on bare HTML fragments
- metadata extraction problem HOT 8
- XMLSyntaxError during conversion to XML output HOT 1
- Option to convert relative links HOT 1
- Doesn't seem to work with recent charset-normalizer HOT 2
- Check URLs passed to courlan functions `extract_links` and `fix_relative_urls` HOT 1
- Code example for Multi-Threaded downloads seems out of date HOT 4
- Code tags are not parsed properly HOT 2
- Is it possible to get the metadata with markdown format? HOT 1
- Redirecting https://twitter.com HOT 1
- `included_images` failed when trying to extract images in a table HOT 7
- author metadata field is null for YouTube videos HOT 1
- Empty h1 blocks non-empty h2 HOT 1
- Question about the title HOT 5
- Use of Signal Prevents Multithreading on Linux HOT 1
- Corrupted Markdown output when TXT+formatting HOT 2
- Web API idea HOT 4
- Installation problem on Mac due to charset version mismatch HOT 1
- Returns horribly bad result for MSN page HOT 1
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 trafilatura.