Commit Graph

303 Commits

Author SHA1 Message Date
1a633d54e2 feat: add --max-age-days filter to prevent posting stale RSS entries Introduce an age-based filter 2026-05-17 07:14:21 +00:00
6027ac58b4 Posem a les 9h 2026-05-15 10:03:03 +00:00
Guillem Hernandez Sola
7b73a40ed7 fix(jenkins): isolate per-feed state/cooldown, cap posts, stagger batches
- Pass --state-path and --cooldown-path per feed so a rate limit on one
  feed no longer triggers a global cooldown that blocks all other feeds
- Add --max-posts 5 cap to prevent burst posting (e.g. 22 posts in one
  run) that was causing HTTP 429 errors on eurosky.social
- Add 15s sleep between batches to reduce cumulative API pressure
- Increase MAX_PARALLEL_FEEDS from 4 to 6 now that cooldowns are isolated
- Add MAX_POSTS_PER_FEED env var for central control of the post cap
- Fix missing line continuation backslash on --service argument

Fixes: batch 2-7 feeds being skipped due to shared cooldown state
2026-05-13 07:05:46 +02:00
fb30fc5e3a Bot de JijantesFC 2026-05-12 20:00:06 +02:00
b404d8b3d7 fix: guard against floating-point precision error in video subclip end_time MoviePy raises ValueErr 2026-05-11 17:15:05 +00:00
Guillem Hernandez Sola
a898d66fe7 Fixes 2026-05-11 12:50:49 +02:00
Guillem Hernandez Sola
124a1c5169 Small fix 2026-05-11 12:49:20 +02:00
Guillem Hernandez Sola
2e38f048ae fix: always upload photos independently of video embed outcome
Previously, photo uploads were nested inside the `else` branch of
`if not video_embed`, meaning photos were only processed when a video
embed succeeded. This caused photo-only tweets to be posted as
text-only because `has_video` was never set, `video_embed` remained
None, and the photo loop was never reached.

Decouple photo collection from video outcome: warn if video failed,
then unconditionally iterate over media items to upload any photos
present. External link card logic is unchanged and still only triggers
when both video and image embeds are absent.
2026-05-11 12:48:13 +02:00
Guillem Hernandez Sola
02dc073213 Renames 2026-05-11 12:39:40 +02:00
Guillem Hernandez Sola
fd9ad40f4b Afegit el Racó del Manga 2026-05-11 11:10:15 +02:00
Guillem Hernandez Sola
86a83a7aca FcBarcelonaCAT 2026-05-11 10:46:58 +02:00
ae989c33a2 indented and fixed 2026-05-10 07:05:13 +00:00
888685496b inden 2026-05-10 07:01:54 +00:00
c073b247e2 indented 2026-05-10 06:59:35 +00:00
1ccaf34740 updated 2026-05-10 06:57:57 +00:00
9dccdc4635 updated 2026-05-10 06:53:55 +00:00
91b1415809 updated 2026-05-10 06:51:24 +00:00
1a47284e41 Indented 2026-05-10 06:48:43 +00:00
6b5b39a625 Updated 2026-05-10 06:47:20 +00:00
26fff59001 revert 6b1de20d09
revert Divendres Nit
2026-05-10 06:35:31 +00:00
9d2f07ebca Updated file 2026-05-10 06:30:27 +00:00
72b6bafde4 Forgotten stuff 2026-05-10 06:13:17 +00:00
9f5af47dda Updated indentation 2026-05-10 06:12:34 +00:00
51216085da Added fixes 2026-05-10 07:59:55 +02:00
6b1de20d09 Divendres Nit 2026-05-08 20:12:41 +00:00
5539d5e98f Dilluns 2026-05-08 20:12:06 +00:00
39f41ba2b8 Update posted 2026-05-08 20:06:05 +00:00
1485b2c9c1 Test 2026-05-08 20:01:12 +00:00
96573c1a5a Update stuff 2026-05-08 19:56:35 +00:00
def1ca0f87 Dijous 2026-05-08 19:53:22 +00:00
52a4340d8d Fix video 2026-05-08 19:50:08 +00:00
36be4b67c5 Import sys 2026-05-08 19:49:18 +00:00
e470a5d7e5 Updated jenkins file 2026-05-08 19:48:23 +00:00
7b9e8c2c83 Fixed Jenkinsfile 2026-05-08 19:45:26 +00:00
5b72de7ca8 New stuff 2026-05-08 19:43:20 +00:00
3e7589e146 Reverted changes 2026-05-08 19:36:29 +00:00
ef46ac5fd6 revert 1f642299e5
revert Text!
2026-05-08 19:34:02 +00:00
5d2cec8b31 Test 2026-05-08 19:22:06 +00:00
acb9325795 Update Fixes 2026-05-08 19:11:37 +00:00
ce29101973 update proto 2026-05-08 19:07:30 +00:00
6262f5fcf8 Fixes jenkinsfile 2026-05-08 19:05:11 +00:00
1f642299e5 Text! 2026-05-08 19:04:22 +00:00
83f8d28f3c Test Moar Fixes 2026-05-08 18:59:24 +00:00
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
a9ebc714eb jenkins file ffmpeg 2026-05-08 16:47:27 +00:00
b235015832 Added ffpmeg 2026-05-08 16:47:03 +00:00
Guillem Hernandez Sola
1e49bd2c09 fixes 2026-05-08 14:53:31 +02:00
Guillem Hernandez Sola
022af846a4 fixes 2026-05-08 14:48:50 +02:00