mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
Frontend: - resolveEntityBounds: try multiple candidate strings in order (u.url first, since that's the t.co short URL that appears in full_text) - normalizeUrlAnn: multi-candidate search; href = expanded > url, display = display_url > expanded > url - linkifyText(): regex linkifier for entity-less bare URLs; trims trailing punctuation [.,;:!?)] before linking; used in both renderTweetTextJSX and renderInlineJSX including their early-return paths (anns.length === 0) that previously bypassed linkification - renderInlineJSX: fix mention href mention.name → screen_name; replace t.co segment text with url.display when entity covers it Scraper (vendor/twitter/scrape_user_tweet_contents.py): - extract_tweet_data: when note_tweet text is used, pull urls/mentions/ hashtags/symbols from note_result.entity_set (correct indices for the note text); keep media from legacy.entities (no note media downloads)
13 lines
390 B
HTML
13 lines
390 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Archivr</title>
|
|
<script type="module" crossorigin src="/assets/index-WdvYwWGH.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-C89vW3ol.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|