-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Updating *booru for using API #4850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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}() RSS-Bridge#2 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke() RSS-Bridge#3 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}() RSS-Bridge#4 lib/RssBridge.php(37): CacheMiddleware->__invoke() RSS-Bridge#5 middlewares/CacheMiddleware.php(44): RssBridge->{closure}() RSS-Bridge#6 lib/RssBridge.php(37): ExceptionMiddleware->__invoke() RSS-Bridge#7 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}() RSS-Bridge#8 lib/RssBridge.php(37): SecurityMiddleware->__invoke() RSS-Bridge#9 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}() RSS-Bridge#10 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke() RSS-Bridge#11 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}() RSS-Bridge#12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke() RSS-Bridge#13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}() RSS-Bridge#14 lib/RssBridge.php(34): DisplayAction->__invoke() RSS-Bridge#15 actions/DisplayAction.php(54): DisplayAction->createResponse() RSS-Bridge#16 actions/DisplayAction.php(89): GelbooruBridge->collectData() RSS-Bridge#17 bridges/GelbooruBridge.php(80): getContents() RSS-Bridge#18 lib/contents.php(131): HttpException::fromResponse() RSS-Bridge#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}() RSS-Bridge#2 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke() RSS-Bridge#3 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}() RSS-Bridge#4 lib/RssBridge.php(37): CacheMiddleware->__invoke() RSS-Bridge#5 middlewares/CacheMiddleware.php(44): RssBridge->{closure}() RSS-Bridge#6 lib/RssBridge.php(37): ExceptionMiddleware->__invoke() RSS-Bridge#7 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}() RSS-Bridge#8 lib/RssBridge.php(37): SecurityMiddleware->__invoke() RSS-Bridge#9 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}() RSS-Bridge#10 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke() RSS-Bridge#11 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}() RSS-Bridge#12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke() RSS-Bridge#13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}() RSS-Bridge#14 lib/RssBridge.php(34): DisplayAction->__invoke() RSS-Bridge#15 actions/DisplayAction.php(54): DisplayAction->createResponse() RSS-Bridge#16 actions/DisplayAction.php(89): GelbooruBridge->collectData() RSS-Bridge#17 bridges/GelbooruBridge.php(80): getContents() RSS-Bridge#18 lib/contents.php(131): HttpException::fromResponse() RSS-Bridge#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 |
|
Fix #4848 |
[BarraqueiroBridges] Add three bridges (RSS-Bridge#4842)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
|
Yep, in few days. Reassembling my PC right now) |
|
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. |
|
Nice 😅 |
Won't work without API anymore