# How ScrapLibra Extracts Web Articles, YouTube Audio, ArXiv PDFs & GitHub Repos (2026)

> ScrapLibra runs a hardened multimodal ingestion pipeline for web articles, YouTube lectures, ArXiv preprints, GitHub repositories, and Telegram exports. Headless Playwright renders dynamic JavaScript pages behind an SSRF DNS firewall. Canonical URL normalization strips marketing trackers so repeated links never charge duplicate credits.

- **Canonical URL:** https://scraplibra.com/how-it-works/multimodal-ingestion-pipeline/
- **Updated:** 2026-11-25
- **Brand SSOT:** ScrapLibra (Official Telegram Bot: Telelibra @telelibra_ai_bot)

## Key Verified Facts
- SSRF DNS pre-resolution firewall validates every submitted URL before fetching to block private IP targets.
- Canonical URL normalization removes utm_source, utm_medium, and fbclid while keeping required video IDs like v=.
- User comments sent alongside a link are preserved as author context inside a dedicated Obsidian callout.

## How does ScrapLibra handle dynamic JavaScript websites, YouTube, and ArXiv?

Standard HTTP clippers fail on React SPAs, long YouTube videos, and academic PDFs. ScrapLibra routes each URL type to a specialized extractor before calling Google Gemini 3.5 Flash for structured synthesis.

When you submit a URL, ScrapLibra first strips tracking parameters and inspects domain rules. Web pages render in headless Playwright to capture clean article text without navigation chrome.

YouTube links pass through transcript extraction that strips sponsor reads and filler pauses. ArXiv links parse structured XML and PDF sections to preserve technical equations and benchmarks.

### Multimodal Extractor Routing Architecture (2026)

| URL Pattern | Active Extractor | Noise Stripped | Median Latency |
| --- | --- | --- | --- |
| Standard web & JS SPAs | Headless Playwright + SSRF shield | Cookie modals, navbars, ad frames | 15 – 25 sec |
| YouTube lectures & podcasts | Transcript & audio pipeline | Sponsor segments, intro jingles, pauses | 25 – 50 sec |
| ArXiv papers (arxiv.org) | Academic XML / PDF parser | Affiliation boilerplate & layout junk | 20 – 45 sec |
| GitHub repositories | README & repo metadata fetcher | Badge spam & empty issue templates | 10 – 20 sec |

## How does ScrapLibra keep my personal comment attached to a saved link?

Forwarding a link with your own short note solves the six-month recall problem. ScrapLibra splits your text from the URL, passes it to Gemini as author context, and renders it inside a dedicated User Context block.

Most bookmark tools discard your caption or mix it into raw page text. Keeping author intent separate guarantees you remember why a resource mattered to your project.

1. Copy any article, YouTube video, ArXiv paper, or GitHub URL.
2. Add one short sentence explaining why the link matters to your task.
3. Send the message to @telelibra_ai_bot or paste it in ScrapLibra Web.
4. Review your note with preserved User Context inside your 20-folder Obsidian Vault.

## FAQ

### Does ScrapLibra charge twice if I send the same article with different UTM parameters?

No. Canonical URL normalization strips utm_source, fbclid, and tracking query strings, linking repeated submissions to your existing note at 0 extra credits.

### How does ScrapLibra protect against malicious redirects or SSRF attacks?

Every URL passes DNS pre-resolution checks that block loopback, private RFC 1918 networks, and cloud metadata IPs before Playwright opens the page.
