dragnet
go-dateparser
dragnet | go-dateparser | |
---|---|---|
5 | 1 | |
1,223 | 37 | |
0.7% | - | |
0.0 | 5.5 | |
10 months ago | 2 months ago | |
Python | Go | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
dragnet
-
Features to add to a web scraping project
I’ve had good luck with dragnet in the past for extracting content from html: https://github.com/dragnet-org/dragnet
- See version number
-
Compatibility issues with Dragnet
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?
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?
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.
go-dateparser
What are some alternatives?
unclutter - A modern reader mode and article library for your browser.
Readability4J - A Kotlin port of Mozilla‘s Readability. It extracts a website‘s relevant content and removes all clutter from it.
dom-distiller - Distills the DOM
article-extraction-benchmark - Article extraction benchmark: dataset and evaluation scripts
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.
parser - 📜 Extract meaningful content from the chaos of a web page
go-trafilatura - go-trafilatura is a Go port of the trafilatura Python library.