View Single Post
Old 03-13-2021, 09:01 PM   #1
Bradles
Zealot
Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.
 
Bradles's Avatar
 
Posts: 112
Karma: 35586
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
Metadata Download Plugin - Bulk Downloads

I'm working on a metadata download plugin for LibraryThing, which has been "educational" and somewhat successful. I based it on the Smashwords plugin, so it uses the goodreads-style Worker thread model.

My first question concerns the frequency at which the bulk downloads are initiated (i.e. select multiple books then Ctrl+D). Is this impacted by the "sleep" after worker.start()? The reason I ask is that after three or four isbn lookups librarything blocks me and everything returns a 404 error after that. (It returns to normal after a period of time.) I would like to "pace" the calls to see if it makes any difference.

The second question concerns the get_book_url() function, which is called whenever a book is selected. I think I read that this is used to generate the URL executed when the identifier is clicked. But how does this relate to "rules to convert identifiers into links" as specified in Prefs / Book Details? One supersedes the other I guess?

Cheers.
Bradles is offline   Reply With Quote