Updating *booru for using API #4850
Merged
Mynacol merged 4 commits intoRSS-Bridge:masterfrom Jan 15, 2026
Merged
Conversation
Won't work without API anymore Bridge returned error 401! (20449) 2025-12-27 03:26:04 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 Details Type: HttpException Code: 401 Message: https://gelbooru.com/index.php?&page=dapi&s=post&q=index&json=1&pid=0&limit=&tags= resulted in 401 Unauthorized File: lib/http.php Line: 34 Trace #0 index.php(73): RssBridge->main() #1 lib/RssBridge.php(39): RssBridge->{closure}() #2 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke() #3 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}() #4 lib/RssBridge.php(37): CacheMiddleware->__invoke() #5 middlewares/CacheMiddleware.php(44): RssBridge->{closure}() #6 lib/RssBridge.php(37): ExceptionMiddleware->__invoke() #7 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}() #8 lib/RssBridge.php(37): SecurityMiddleware->__invoke() #9 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}() #10 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke() #11 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}() #12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke() #13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}() #14 lib/RssBridge.php(34): DisplayAction->__invoke() #15 actions/DisplayAction.php(54): DisplayAction->createResponse() #16 actions/DisplayAction.php(89): GelbooruBridge->collectData() #17 bridges/GelbooruBridge.php(80): getContents() #18 lib/contents.php(131): HttpException::fromResponse() #19 lib/http.php(34) Context Query: action=display&bridge=GelbooruBridge&p=0&t=&l=&format=Html Version: 2025-08-05 OS: Linux PHP: 8.2.29
Won't work without API anymore Bridge returned error 403! (20449) 2025-12-27 03:31:25 403 Forbidden The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it. https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403 Details Type: HttpException Code: 403 Message: https://rule34.xxx/index.php?&page=dapi&s=post&q=index&json=1&pid=0&limit=&tags= resulted in 403 Forbidden File: lib/http.php Line: 34 Trace #0 index.php(73): RssBridge->main() #1 lib/RssBridge.php(39): RssBridge->{closure}() #2 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke() #3 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}() #4 lib/RssBridge.php(37): CacheMiddleware->__invoke() #5 middlewares/CacheMiddleware.php(44): RssBridge->{closure}() #6 lib/RssBridge.php(37): ExceptionMiddleware->__invoke() #7 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}() #8 lib/RssBridge.php(37): SecurityMiddleware->__invoke() #9 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}() #10 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke() #11 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}() #12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke() #13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}() #14 lib/RssBridge.php(34): DisplayAction->__invoke() #15 actions/DisplayAction.php(54): DisplayAction->createResponse() #16 actions/DisplayAction.php(89): GelbooruBridge->collectData() #17 bridges/GelbooruBridge.php(80): getContents() #18 lib/contents.php(131): HttpException::fromResponse() #19 lib/http.php(34) Context Query: action=display&bridge=Rule34Bridge&p=0&t=&l=&format=Html Version: 2025-08-05 OS: Linux PHP: 8.2.29
Pull request artifacts
last change: Thursday 2026-01-15 19:49:12 |
Contributor
Author
|
Fix #4848 |
[BarraqueiroBridges] Add three bridges (#4842)
Mynacol
approved these changes
Jan 15, 2026
Contributor
There was a problem hiding this comment.
Hey, I reconsidered and am merging this. The bridge is currently broken, the required change is small and the site operators seem nice to use the API with.
If someone wants to avoid an API key, they can look into scraping the HTML page and send a PR.
Edit: I'm merging after you fix the CI error.
Contributor
Author
|
Yep, in few days. Reassembling my PC right now) |
Contributor
|
I went ahead and fixed it myself 😄 I cannot really test the bridge without API key (and no, I don't want to make one), but this should be fine for now. |
Contributor
Author
|
Nice 😅 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Won't work without API anymore