Comments (2)
Hi, this happens because a deduplication algorithm is activated by default on element, paragraph and document levels. To make sure not to run it you can just pass an additional deduplicate=False
argument to trafilatura.extract()
.
This additional feature will ship with the next package version, until then please use the latest code from the repository: pip install -U git+https://github.com/adbar/trafilatura.git
from trafilatura.
The new version (0.5.2) is out, deduplication is now off by default.
from trafilatura.
Related Issues (20)
- 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 2
- Installation problem on Mac due to charset version mismatch HOT 1
- Returns horribly bad result for MSN page HOT 1
- include_links breaks the extraction for https://news.ycombinator.com HOT 2
- Consider switching from lxml's clean_html for enhanced security (and possibly performance) HOT 1
- Error when multiproessing HOT 1
- Multiple spaces within a text element are not supported HOT 5
- Inconsistent behavior on macOS HOT 3
- Unable to extract text from a given site, TypeError: unhashable type: 'set' HOT 5
- crawl only sub-pages from an arbitrary URL? HOT 3
- Parts are getting missed out after using extract funtion HOT 1
- List items are being missed HOT 6
- Entire/majority content of these 2 sites being missed out HOT 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 trafilatura.