Summary: | ThingISBN broken: User agent blocked | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3030 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: | Bug 34745: FOR TESTING - ThingISBN broken: User agent blocked |
Description
Owen Leonard
2023-09-08 14:39:27 UTC
Created attachment 155436 [details] [review] Bug 34745: FOR TESTING - ThingISBN broken: User agent blocked This patch corrects the LibraryThing URL to use https instead of http and adds a custom agent string to the initialization of LWP::UserAgent: "Mozilla/5.0" This is a test to confirm that the a different user agent string might allow the ThingISBN to work again. Currently opening in a browser shows a page : "Sorry, you have been blocked" LibraryThing seems to have converted this service to an authenticated API. I understand why, but I'm curious why it was done with no apparent announcement. Also, "LibraryThing's APIs are currently disabled until further notice", posted 2022-05-16: https://wiki.librarything.com/index.php/LibraryThing_APIs Okay, not exactly authenticated... Just requires the addition of a token. And it seems to be working at the moment. |