Files
post2bsky/twitter2bsky_daemon.py
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

121 KiB