Commit Graph

74 Commits

Author SHA1 Message Date
a04b5994d9 Update fixes 2026-05-08 18:55:10 +00:00
3fd63571fd More fixes 2026-05-08 16:57:21 +00:00
d497979e19 Fixed 2026-05-08 16:53:07 +00:00
b235015832 Added ffpmeg 2026-05-08 16:47:03 +00:00
Guillem Hernandez Sola
09b9d16791 fix: prevent video URL bleed-through and stale listener across tweets
- Add `page.remove_listener("response", handle_response)` in
  `extract_video_url_from_tweet_page` finally block to detach the
  network listener before page close, preventing ghost callbacks
  from leaking captured URLs across tweet iterations.

- Confirmed `build_media_fingerprint` already uses `canonicalize_tweet_url`
  as stable video identifier instead of unreliable `media_url_https`,
  avoiding false fingerprint collisions between different video tweets.

- Confirmed `sync_feeds` already guards against `None` video URL after
  extraction, ensuring no silent fallthrough to stale captures.
2026-05-05 13:39:22 +02:00
Guillem Hernandez Sola
375191c497 Add --bsky-langs es to Jenkins pipeline for specific language tagging 2026-04-30 10:20:41 +02:00
Guillem Hernandez Sola
111cbe30d3 More timeout 2026-04-28 21:52:58 +02:00
Guillem Hernandez Sola
46956a4d84 refactor: remove ellipsis from all text truncation paths
- truncate_text_safely: slice to full max_length, drop trailing ...
- truncate_text_preserving_tail: remove ... prefix/infix, adjust
  reserve from +4 to +1
- build_dynamic_alt: slice to DYNAMIC_ALT_MAX_LENGTH, drop ...
- make_rich: remove … from hashtag rstrip chars
- sync_feeds: remove conditional ... suffix in dry-run log
2026-04-28 21:32:25 +02:00
Guillem Hernandez Sola
70551a4c2a Increased timeout 2026-04-28 18:40:57 +02:00
80b167d1c0 Updated timeouts 2026-04-25 15:18:34 +00:00
4bd3fad2e7 More time to resolve the page 2026-04-25 06:28:12 +00:00
Guillem Hernandez Sola
2401da8e5f Fixed some truncation 2026-04-23 20:01:57 +02:00
Guillem Hernandez Sola
08cb7e18e3 New login hardening 2026-04-18 10:58:25 +02:00
05b69da411 Added 429 control 2026-04-18 08:54:15 +02:00
4d04ba245a revert 300d45192c
revert Updated RSS
2026-04-14 19:31:10 +00:00
300d45192c Updated RSS 2026-04-14 19:04:14 +00:00
dc47bf017a Remove some spaces at the end 2026-04-13 19:38:20 +00:00
3810cef150 Added #fix 2026-04-13 19:33:59 +00:00
6f67822e7e Some fixes 2026-04-13 19:17:21 +00:00
d2d05deb06 Fix 2026-04-13 18:11:12 +00:00
412136f95c Fix number 5 2026-04-13 18:10:13 +00:00
35ba7a7a5e Refactor using Claude 4.6 Opus 2026-04-13 17:38:40 +00:00
Guillem Hernandez Sola
351eec4840 the bot is doing expensive URL and og:title work for tweets that it later discards as already posted 2026-04-13 18:37:39 +02:00
Guillem Hernandez Sola
455a4198a2 fix(video): use unique temporary filenames for per-tweet video processing and uploads 2026-04-13 18:30:08 +02:00
Guillem Hernandez Sola
526272fe30 fix(sync): sanitize visible tweet URLs by resolving t.co links and removing concatenated duplicates 2 2026-04-13 17:40:19 +02:00
Guillem Hernandez Sola
ba313787b6 fix(sync): sanitize visible tweet URLs by resolving t.co links and removing concatenated duplicates 2026-04-13 17:02:54 +02:00
Guillem Hernandez Sola
ab2f676878 new og meta 2026-04-13 16:11:23 +02:00
f6c6be8fab Improving t.co resolving URLs 2026-04-13 10:14:15 +00:00
3f50e7d786 fix(sync): resolve t.co links to final external URLs for Bluesky external cards 2026-04-13 09:41:34 +02:00
3a4b6ce65e fix(sync): preserve exact original tweet text, visible links, and hashtags when post fits Bluesky 2026-04-10 13:36:45 +02:00
fbc8dda1e2 fix(sync): preserve full ending clause before external url and hashtags in long tweet text 2026-04-10 13:23:02 +02:00
3c666a87c3 fix(sync): preserve meaningful url/tag tails in long tweet text instead of truncating them away 2026-04-10 09:49:01 +02:00
Guillem Hernandez Sola
62ec99a03b fix(sync): preserve full text for long link posts and use expanded URL only for Bluesky external cards 2026-04-09 17:15:02 +02:00
Guillem Hernandez Sola
24abd8d32f fix(sync): compress oversized tweet images before Bluesky upload 2026-04-09 16:53:00 +02:00
Guillem Hernandez Sola
3d1e202d62 🔧 Repaired broken mention wrapping in scraped text 2026-04-09 16:44:08 +02:00
Guillem Hernandez Sola
19ec55717e fix(sync): preserve non-X links during truncation so Bluesky external cards are generated 2026-04-09 12:06:44 +02:00
Guillem Hernandez Sola
bc39e57a78 fix(sync): prefer video posts over image fallback and retry transient blob upload failures 2026-04-07 09:47:51 +02:00
Guillem Hernandez Sola
8529016386 fix(sync): clean scraped post text and improve external link card thumbnail handling 2026-04-06 22:23:04 +02:00
e4334f44d2 Controlling snippet image on blobs 2026-04-06 09:28:45 +02:00
5abd9d685a New test for rich snippet 2026-04-05 22:51:18 +02:00
7614545893 Added snippets only in urls 2 2026-04-05 21:44:18 +02:00
c1a9065744 Added snippets only in urls 2026-04-05 21:32:01 +02:00
a76715064a Some video bitrate improvements 2026-04-05 15:31:32 +00:00
fc4c002a2e Update base url 2026-04-05 15:03:09 +00:00
f989d0fe31 Avoid image upload warning 2026-04-05 12:25:00 +00:00
cb054cdb32 New video limit 179 seconds 2026-04-05 11:41:39 +00:00
Guillem Hernandez Sola
6fdd588179 Added new yml 2026-04-05 09:04:46 +02:00
3dc652c903 Rename 2026-04-05 03:12:14 +00:00
c6df657153 Added JSON state 2026-04-04 23:26:03 +00:00
112b1e0808 Delete twitter2bsky_daemon.py 2026-04-04 23:22:35 +00:00