Skip to content

Add LibraryThing translator - #3643

Open
janbaykara wants to merge 1 commit into
zotero:masterfrom
janbaykara:add-librarything-translator
Open

Add LibraryThing translator#3643
janbaykara wants to merge 1 commit into
zotero:masterfrom
janbaykara:add-librarything-translator

Conversation

@janbaykara

@janbaykara janbaykara commented Aug 30, 2026

Copy link
Copy Markdown

I've added a group importer from LibraryThing. Did this so I could pull https://www.librarything.com/catalog/HermesAmaraArchive

Comment thread LibraryThing.js
return '';
}

function originFromUrl(url) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is always https://www.librarything.com, I think.

(Also the request*() methods accept relative URLs.)

Comment thread LibraryThing.js

function detectWeb(_doc, url) {
if (getUserId(url)) {
return 'multiple';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like individual books have pages - why not support them?

@AbeJellinek AbeJellinek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! A couple comments. I can't see any books in the collection you linked, but this generally seems to work.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants