trafilatura
libreddit
trafilatura | libreddit | |
---|---|---|
13 | 283 | |
2,853 | 4,990 | |
- | 0.1% | |
8.7 | 4.1 | |
2 days ago | 15 days ago | |
Python | Rust | |
Apache License 2.0 | GNU Affero General Public License v3.0 |
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.
trafilatura
-
Trafilatura: Python tool to gather text on the Web
The feature list answers that question pretty well: https://github.com/adbar/trafilatura#features
Basically: you could implement all of this on top of BeautifulSoup - polite crawling policies, sitemap and feed parsing, URL de-duplication, parallel processing, download queues, heuristics for extracting just the main article content, metadata extraction, language detection... but it would require writing an enormous amount of extra code.
-
Show HN: Build AI Dags with Memory; Run and Validate LLM Tools in Containers
The WebScraper tool uses Trafilatura [1] to scrape and parse HTML—nothing too fancy. "Scraping" a React site would require a totally different approach, probably something more akin to Adept's ACT-1 [2].
I run a local chat app built with Griptape and I use it to give me summaries of web pages or answer specific questions all the time :)
1. https://github.com/adbar/trafilatura/
-
Powerful and free scraper with a headless browser under the hood and Readability for parsing
I've been playing with Trafilatura lately, and it's very good. There are a few very thorough comparisons to other projects and it really shines. It doesn't do anything headless from what I can tell, but it doesn't have to do the scraping itself. Maybe an option could be to use Playwright to scrape, then Trafilatura to parse. Food for thought.
-
I made a Chrome Extension that lets you ask any question about the page you are on (bluf.ai)
Cool! If you care to explain me further... :) ... I tried parsing a page using: https://github.com/adbar/trafilatura, json stringify it and passing it to https://platform.openai.com/docs/api-reference/embeddings/create. How do I use the response as an input later? <3
-
Testing fast installation in tear-down environment
I want to test how easy it is to install a package plus special extra dependencies to run a certain script in that package: https://github.com/adbar/trafilatura
- Advice on standard design pattern for comparison test script
- Automate dependency installation
- Issue with sklearn
- Questions about some code
- How does Firefox's Reader View work?
libreddit
-
Mobile Ad Blocker Will No Longer Stop YouTube's Ads
Don't use Youtube without going through a proxy like Invidious [1] or Newpipe
Don't use {site} Search without going through a proxy like SearxNG [2]
Don't use TwiXXer without going through a proxy like Nitter - this has gotten more difficult lately but it still works as long as you feed the daemon some registered accounts. Video does not work at the moment but that seems to be fixable.
Don't use Reddit without going through a proxy like libreddit [4]
Start noticing the pattern? Maybe it is time to start producing promotional posters:
The only thing to come between you and ADS could be a proxy / ADS. I'ts just not worth the risk
ADS / New rules for a sane net / Sane net protects you, your partner and your community
A proxy here and a filter there, ADS nowhere
The more you tighten your grip, ${site}, the more viewers will slip through your fingers
[1] https://github.com/iv-org/invidious
[2] https://github.com/searxng/searxng
[3] https://github.com/zedeus/nitter
[4] https://github.com/libreddit/libreddit
- Libreddit's Public Instances are Shutting Down
- Libreddit is shutting down public instances
-
Teddit Is Shutting Down
This is a particular teddit instance shutting down, not teddit the software project.
Stuff is moving a lot currently and there is a bumpy road ahead, but there are several courses of action already being mapped out (scraping html, r-e the private gql api, a setting for operators to put some auth token, ..).
https://github.com/libreddit/libreddit/issues/836
https://codeberg.org/teddit/teddit/issues/400
- Libreddit instances are shutting down
-
Ask HN: Is Reddit imposing rate limits too?
Sadly the quick refresh is no longer working for me, and going through all of the instances on Libredirect, they all seem to be constantly down now.
It appears that they are trying to deal with this issue here:
https://github.com/libreddit/libreddit/issues/836
- What’s up with Reddit telling me to use the official Reddit app to see porn?
-
Joey is still working because of less users
Yes, the official Reddit app uses a different endpoint for authentication. There has been great progress in reverse-engineering the private API: https://github.com/libreddit/libreddit/issues/818
- Version 1.21 released
-
Nitter just died today.
There's a fork of Libreddit that uses the API key leaked from the official Reddit app: https://github.com/libreddit/libreddit/pull/819
What are some alternatives?
newspaper - newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
Reddit-Enhancement-Suite - Reddit Enhancement Suite
python-goose - Html Content / Article Extractor, web scrapping lib in Python
nitter - Alternative Twitter front-end
TWINT - An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
teddit - alternative Reddit front-end focused on privacy https://teddit.net
html2text - Convert HTML to Markdown-formatted text.
Shreddit - Remove your comment history on Reddit as deleting an account does not do so.
Goose3 - A Python 3 compatible version of goose http://goose3.readthedocs.io/en/latest/index.html
Removeddit - View deleted stuff from reddit
textract - extract text from any document. no muss. no fuss.
Invidious - Invidious is an alternative front-end to YouTube