opengraph
trafilatura
Our great sponsors
opengraph | trafilatura | |
---|---|---|
164 | 13 | |
224 | 2,740 | |
- | - | |
0.0 | 8.4 | |
over 2 years ago | 1 day ago | |
Python | Python | |
MIT License | Apache License 2.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.
opengraph
- Como customizar o preview de links em redes sociais no Next.js
-
Building an SEO-friendly responsive i18n website using Vite-SSG + Vuetify3
og:*: specified by the Open Graph Protocol for social media links rendering that determine their title, description, and images when you share them on social media or chat software such as Twitter(X), Discord, etc.
- Java virtual threads caused a deadlock in TPC-C for PostgreSQL
-
Is there a reason why cover art is not showing up?
OpenGraph probably.
- What is an open graph? You must know this feature in web development.
-
Making Dynamic Website Thumbnail
To explore more Open Graph properties, visit this website: Open Graph Protocol.
-
Displaying your full-sized YouTube thumbnail or a custom OG image in a Twitter card
Since Netlify introduced Edge Functions we've had an ideal way to add a tiny bit of logic into our link shortener which will return a page template of our own to anything looking to unfurl the URL to display its opengraph image.
-
[Handgun] Back in stock - PD Trade Sig Sauer P226 9mm DA/SA w Night Sights & 1-15rd mag $579.99+s/h
Recoil Gunworks doesn't have an Open Graph image tag defined in their product pages, so Reddit chooses something at random to use for a preview thumbnail. Neither OP nor the mods can do anything about it.
-
The truth behind the ban of r/MGTOW
The idea behind the Semantic Web is, if anything, the exact opposite. Yes, it's still about meaning, in the end. But in this case, it's about the authors of content (mostly webpage developers) intentionally making their content more machine-discoverable, providing links and markup and metadata that computers can read without having to do finicky and error-prone extraction. Most major sites use some features of this! As an example, if you paste this page's URL into Discord, you'll get a fancy popup box with a little snippet of the text and maybe an icon, and this is through a Facebook-developed Semantic Web extension called OpenGraph.
- Open Graph
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 :)
-
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?
What are some alternatives?
python-goose - Html Content / Article Extractor, web scrapping lib in Python
newspaper - newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
Data Extractor - Combine XPath, CSS Selectors and JSONPath for Web data extracting.
react-helmet - A document head manager for React
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.
python-readability - fast python port of arc90's readability tool, updated to match latest readability.js!
html2text - Convert HTML to Markdown-formatted text.
sumy - Module for automatic summarization of text documents and HTML pages.
Goose3 - A Python 3 compatible version of goose http://goose3.readthedocs.io/en/latest/index.html
Next-JS-Landing-Page-Starter-Template - 🚀 Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript ⚡️ Made with developer experience first: Next.js 14 + TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Netlify + PostCSS + Tailwind CSS
micawber - a small library for extracting rich content from urls