trafilatura
Invidious
trafilatura | Invidious | |
---|---|---|
13 | 422 | |
2,853 | 15,028 | |
- | 3.6% | |
8.7 | 9.5 | |
2 days ago | about 19 hours ago | |
Python | Crystal | |
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?
Invidious
- Google Broke Invidious Again
-
Mobile Ad Blocker Will No Longer Stop YouTube's Ads
Youtube seems to be doing some A/B testing with the comment system which has made proxies like Invidious and yt-dlp/Newpipe unable to load comments. There is a patch for Invidious [1] which solves this problem but it is not in master yet. I tested it on my own instance and it does solve the problem.
[1] https://github.com/iv-org/invidious/pull/4576
- YouTube: Google has found a way to break Invidious
-
Google fights Invidious (a privacy YouTube Front end)
BTW, I don't understand the workaround: https://github.com/iv-org/invidious/pull/4552/files
Which was taken from here: https://github.com/LuanRT/YouTube.js/pull/624
Could anybody explain it to me?
- Google Ordered to Identify Who Watched Certain YouTube Videos
-
YouTube is loading slower for users with ad blockers yet again
Use a Youtube proxy like Invidious [1], problem solved and you get to subscribe to channels without telling the Beast about your interests. Add Sponsorblock (which supports Invidious) to get rid of any in-stream advertising which remains and you'll be transported back to those hallowed times of yore when men were men, women were women and advertising was something you found in newspapers. Youtube will try to make this harder just like Xitter is trying to make it harder to use proxies like Nitter [2].
[1] https://github.com/iv-org/invidious
[2] https://github.com/zedeus/nitter
-
YouTube begins new wave of slowdowns for users with ad blockers enabled
Going to drop this here for others who haven't heard of it https://invidious.io/
Now, how do we fix this? YouTube's ad model sucks. Their algorithm sucks. Their front page sucks. They've captured a bunch of creators though so often YouTube is the only place you can find someone.
I want those creators to benefit from me viewing their videos. I want the fact that I view a video and like it to help other people find that video in their recommendations. I want an algorithm that shows me things that are interesting and relevant not one that promotes the spammiest and most ad heavy videos that barely have anything to do with my watch history.
Having an alternative front end is nice but I don't want to rob YouTube of the money they spend on hosting the videos.
So, how do we do this?
Peer to peer fails when there is little interest in something or when most people leech and it sucks for archiving old content.
Hosting it all in one place is super expensive and hard for a small group to manage without turning into YouTube.
Maybe we could find a way for the creators to host their own content and get paid when people view it while being part of a large federated network for easy discoverability?
Please list any projects you know of, I'm sure there are a lot of people here who would be willing to contribute or donate.
- Crystal 1.11.0 Is Released
- YouTube is trying to block Invidious
-
Reviving decade-old Macs with antiX and MX Linux (2022)
Sometimes a half-solution will do, like Invidious or Piped.
[0] https://invidious.io/
[1] https://github.com/TeamPiped/Piped
What are some alternatives?
newspaper - newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
Piped - An alternative privacy-friendly YouTube frontend which is efficient by design.
python-goose - Html Content / Article Extractor, web scrapping lib in Python
NewPipe - A libre lightweight streaming front-end for Android.
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.
FreeTube - An Open Source YouTube app for privacy
html2text - Convert HTML to Markdown-formatted text.
nitter - Alternative Twitter front-end
Goose3 - A Python 3 compatible version of goose http://goose3.readthedocs.io/en/latest/index.html
SponsorBlock - Skip YouTube video sponsors (browser extension)
textract - extract text from any document. no muss. no fuss.
libreddit - Private front-end for Reddit