Readability4J VS dragnet

Compare Readability4J vs dragnet and see what are their differences.

Readability4J

A Kotlin port of Mozilla‘s Readability. It extracts a website‘s relevant content and removes all clutter from it. (by dankito)

dragnet

Just the facts -- web page content extraction (by dragnet-org)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Readability4J dragnet
3 5
135 1,223
- 0.7%
4.3 0.0
over 2 years ago 10 months ago
HTML Python
Apache License 2.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.

Readability4J

Posts with mentions or reviews of Readability4J. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-12.
  • Creating an advanced search engine with PostgreSQL
    9 projects | news.ycombinator.com | 12 Jul 2023
    Depending upon the type of content, one might want to look into using the Readability (Browder's reader view) to parse the webpage. It will give you all the useful info without the junk. Then you can put it in the DB as needed.

    https://github.com/mozilla/readability

    Btw, readability, is also available in few other languages like Kotlin:

    https://github.com/dankito/Readability4J

  • How does Firefox's Reader View work?
    15 projects | news.ycombinator.com | 30 Mar 2022
    My Hacker News client HACK for iOS and Android has a reader mode ability browser. While on iOS, I was able to use the reader mode feature provided by SFSafariViewController, that wasn't available on android.

    So I had to read a ton about this. I ended up using a heavily modified Kotlin version of Readability:

    https://github.com/dankito/Readability4J

    https://play.google.com/store/apps/details?id=com.pranapps.h...

    https://apps.apple.com/us/app/id1464477788

  • Show HN: Instantly Listen to Any URL
    3 projects | news.ycombinator.com | 13 Aug 2021
    Not sure about OP but I just implemented this in my Hacker News android client (thanks for the idea OP).

    This is how I implemented it. I had already achieved article to "reader mode" by heavily customizing the Kotlin port of Mozilla‘s Readability:

    https://github.com/dankito/Readability4J

    Then I pass the text via Android's TextToSpeech library and it works very well:

        fun trySpeaking(str:String){

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 Readability4J and dragnet you can also consider the following projects:

go-readability - Go package that cleans a HTML page for better readability.

unclutter - A modern reader mode and article library for your browser.

article-extractor - To extract main article from given URL with Node.js

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

Just-Read - A customizable read mode web extension.

dom-distiller - Distills the DOM

percollate - A command-line tool to turn web pages into readable PDF, EPUB, HTML, or Markdown docs.

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

web-clipper - For Notion,OneNote,Bear,Yuque,Joplin。Clip anything to anywhere

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.