unclutter VS dragnet

Compare unclutter vs dragnet and see what are their differences.

dragnet

Just the facts -- web page content extraction (by dragnet-org)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
unclutter dragnet
39 5
1,194 1,220
1.6% 0.9%
8.1 0.0
about 2 months ago 9 months ago
TypeScript Python
GNU Affero General Public License v3.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

unclutter

Posts with mentions or reviews of unclutter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-23.
  • Reader View / Links2 like web view filter
    1 project | /r/uBlockOrigin | 14 Jun 2023
    no a filter for uBO (I do not think it is possible) but I really like this extension: https://github.com/lindylearn/unclutter
  • Mel B calls James Corden as one of the ‘biggest d***heads in showbiz’
    1 project | /r/unitedkingdom | 3 Dec 2022
    Other browsers can use the uncluttered extension.
  • Show HN: Reader Mode, but Better
    12 projects | news.ycombinator.com | 23 Nov 2022
    There already is crowdsourcing of broken page reports: https://github.com/lindylearn/unclutter/issues?q=is%3Aissue+...

    And twitter.com is a special case: https://github.com/lindylearn/unclutter/issues/570

    I'm working on those, but it's never going to be perfect unfortunately.

  • Unclutter — a browser extension to read & save articles
    1 project | /r/chrome | 23 Nov 2022
    Here’s more info: unclutter.lindylearn.io
    5 projects | /r/SideProject | 23 Nov 2022
    I'm looking into this: https://github.com/lindylearn/unclutter/issues/661
  • Unclutter reader mode extension — Read articles with style
    1 project | /r/chrome | 23 Nov 2022
    It all started with a r/chrome post a few months ago, and since then we've added many improvements to our GitHub project.
  • Show HN: Reader Mode that shows Hacker News comments inline
    2 projects | news.ycombinator.com | 18 Jun 2022
    Hey! This is a reader mode browser extension I built that hides noisy page elements rather than extracting and re-rendering only the page text. The idea is to not make all articles look the same [0], have them still render graphs, and ideally to work in more cases.

    There are a few "tricks": patching the site CSSOM to apply simpler mobile styles even at desktop width, detecting the likely main text & removing its non-text siblings, blocklists for classnames that contain words like "sidebar", and testing this on a few hundred popular sites.

    I got carried away and also added a dark mode, page outlines, private annotations & inline Hacker News comments.

    The last feature works by parsing every top-level HN comment with a quote in it (formatted with > or "") within a few minutes, and anchoring these quotes in the related article HTML. So when you click a link on HN you’ll see the parts people are talking about while reading. [1]

    The code is all on GitHub!

    [0] Screenshots comparing it to the Firefox reader mode: https://github.com/lindylearn/unclutter/blob/main/docs/compa...

    [1] It's fun to try this on some of the "HN classics" that got 30+ quote comments over the years. The list at hn.lindylearn.io/best shows the number of “annotations” an article has beneath its title.

  • Uncluttering web articles using CSS animations
    9 projects | /r/webdev | 4 Jun 2022
    You can also contribute to the existing extension for this: https://github.com/lindylearn/unclutter
    2 projects | /r/webdev | 4 Jun 2022
    More examples: unclutter.lindylearn.io The code: github.com/lindylearn/unclutter
  • Show HN: Unclutter – New Reader Mode Extension with Inline Hacker News Comments
    2 projects | news.ycombinator.com | 4 Jun 2022
    Hey! This is a reader mode browser extension I built that hides noisy page elements rather than extracting and re-rendering only their text content. The idea is to not make all articles look the same [0], have them still render graphs, and ideally to work in more cases.

    There are a few "tricks": patching the site CSSOM to apply simpler mobile styles even at desktop width, cleaning up parents of DOM text nodes, blocklists for class names that contain words like "sidebar", plus manual CSS patches for popular sites.

    I got carried away and also added a dark mode, page outlines, privates notes & inline Hacker News comments. [1]

    The last feature works by parsing every top-level HN comment with a quote in it (formatted with > or "") within a few minutes, and anchoring these quotes in the story article HTML. So when you open a link you'll directly see the parts people are talking about here. [2]

    The extension code is all on GitHub: github.com/lindylearn/unclutter

    [0] Unclutter vs the Firefox reader mode: https://github.com/lindylearn/unclutter/blob/main/docs/compa...

    [1] The linked website show some examples for these.

    [2] It's also fun to try this on some of the "HN classics" that got 30+ quote comments over the years. The list at hn.lindylearn.io/best shows the number of "annotations" a link has beneath its title.

dragnet

Posts with mentions or reviews of dragnet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-30.
  • Features to add to a web scraping project
    1 project | /r/csMajors | 24 Jun 2023
    I’ve had good luck with dragnet in the past for extracting content from html: https://github.com/dragnet-org/dragnet
  • See version number
    1 project | /r/github | 19 May 2022
  • Compatibility issues with Dragnet
    1 project | /r/learnpython | 28 Apr 2022
    I am trying to work on a Python tool which makes use of Dragnet as a dependency. After quite a bit of issues I think I am starting to get a better picture that Dragnet will not be very easy to work with. The GitHub page says it was built for Python 2.7 “with recent support for Python 3”. The repo hasn’t been updated in 12 months; many of the other updates are from 3-4 years ago. A normal pip installation is not working. Their Issues page is full from posts from one year ago about various installation problems.
  • How does Firefox's Reader View work?
    15 projects | news.ycombinator.com | 30 Mar 2022
    It's really nice that browsers offer reader modes, but they are frustratingly incomplete.

    Really, let's switch to a user perspective once and consider - what if I always want reader mode? This is technologically complete impossible and all the solutions are a band-aid.

    Firefox and others' attempts rely on the page authors' goodwill. But some pages will always attempt to frustrate reader modes.

    Alternative approaches for content extraction use machine learning such as [1], but they of course need to be updated for culture- language- and technology-specific changes.

    It's a mess and will remain so for the foreseeable future.

    [1] https://github.com/dragnet-org/dragnet

  • [Discussion] good html tokenization libraries?
    1 project | /r/MachineLearning | 30 Jan 2021
    You can take a look into how dragnet preprocess html block ( the Blockifier function ), it's certainly not the best since it collapse the tree structure into one sequential flow but I think is easier to work with once you know how to modify the code for your own need. While the hard way is use lxml and write the parsing yourself, which is also what's happening under dragnet.

What are some alternatives?

When comparing unclutter and dragnet you can also consider the following projects:

murder - Large scale server deploys using BitTorrent and the BitTornado library

go-dateparser - go parser for human readable dates ported from the dateparser python package

readability - A standalone version of the readability lib

dom-distiller - Distills the DOM

htmldate - Fast and robust date extraction from web pages, with Python or on the command-line

arc90-readability - A copy of the original Arc90 repo with links to many of the current ports.

go-trafilatura - go-trafilatura is a Go port of the trafilatura Python library.

bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.

parser - 📜 Extract meaningful content from the chaos of a web page

Readability4J - A Kotlin port of Mozilla‘s Readability. It extracts a website‘s relevant content and removes all clutter from it.