Skip to content

Conversation

@Jpsoaresfig
Copy link

@Jpsoaresfig Jpsoaresfig commented Jan 12, 2026

Category

  • a bug fix
  • a new Ripper
  • a refactoring
  • a style change/fix
  • a new feature

Description

RedGIFs downloads were frequently failing with HTTP 401 errors after a limited number of successful requests.

This happens because the temporary RedGIFs auth token expires during long ripping sessions (e.g. ripping multiple posts or subreddits), causing most RedGIFs to be skipped.

This change ensures the auth token is refreshed when necessary, allowing RipMe to continue downloading RedGIFs without requiring an application restart.


Testing

Required

  • I've verified that there are no regressions in gradlew test (there are no new failures or errors).
  • I've verified that this change works as intended.
  • Downloads all relevant content.
  • Downloads content from multiple pages (as necessary or appropriate).
  • Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.
  • I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Tested with multiple RedGIFs links and Reddit posts containing RedGIFs content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant