06-03-2017, 04:11 PM | #16 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-04-2017, 05:51 AM | #17 | |
Enthusiast
Posts: 40
Karma: 127198
Join Date: Aug 2011
Location: Malmö, Sweden
Device: Kobo Aura 1, Kindle DXG, Kindle PW2
|
Quote:
I was planning to do this later because honestly I won't be the audience for this feature — when I download covers, I already determined the ASIN and I want the cover for that specific edition, and that edition only. But since you were kind enough to contribute with the implementation, I can incorporate it now. Is it OK with you if I incorporate your code in the plug-in? Let me know how you want attribution. I will improve upon this to scrape Goodreads as well since Amazon will not always show you old all existing Kindle editions, but Goodreads usually does. I will make it configurable so you can enable/disable them individually. How does that sound? |
|
Advert | |
|
06-04-2017, 06:02 AM | #18 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Scrape Goodreads for the ASIN or scrape Goodreads for the cover?
|
06-04-2017, 07:06 AM | #19 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
@Nicolas, the plugin is working rather well. Thank you for your changes to it.
|
06-04-2017, 07:18 AM | #20 | ||
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Quote:
Of course you can incorporate it, I made a pull request on github if you're OK with my additions. For the attribution, you can just put my name as a contributor Also I didn't add a license since there was none, but you should add one (GPL v3 is commonly used) A setting would be a good idea if you add more sources (I already added one to choose the number of covers to download). And amazon might not even be needed if the goodreads database is enough (if I remember correctly goodreads is now owned by amazon) Quote:
And thanks for the feedback! |
||
Advert | |
|
06-04-2017, 05:36 PM | #21 |
Groupie
Posts: 180
Karma: 616200
Join Date: May 2014
Location: Spain
Device: Kobo Forma, Hisense A5
|
Just a question about the plugin, when there's no ASIN in the book metadata and searchs for it based on title & author, what does the plugin do when there's more than one?
I'll probably use it only setting the ASIN previously to make sure I get the cover I want in case there's more than one edition, but I'm curious. Thanks |
06-05-2017, 10:50 AM | #22 | |
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Quote:
|
|
06-05-2017, 11:05 AM | #23 |
Groupie
Posts: 180
Karma: 616200
Join Date: May 2014
Location: Spain
Device: Kobo Forma, Hisense A5
|
Thanks, I've yet to try it, i haven't been at home this weekend, so I haven't installed it.
|
06-06-2017, 07:46 AM | #24 |
Serpent Rider
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
I've added this plugin and started using it. Now, when I add amazon:B00E257WXW to the identifiers field, I'll get an amazon cover that is equivalent to the highest google image. But when I go to the website you reference and input that same asin, I get a cover that is almost twice the resolution. I've just tested it once with the above asin, not any others. Should I try some others?
Any idea why this might be happening? |
06-06-2017, 07:53 AM | #25 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Have a look at your Tweak setting in Preferences > Change calibre behaviour > Tweaks - 'The maximum width and height for covers saved in the calibre library'
e.g I have mine set at Code:
maximum_cover_size = (1500, 2100) |
06-06-2017, 08:03 AM | #26 | |
Serpent Rider
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
|
Quote:
|
|
06-06-2017, 01:28 PM | #27 |
Enthusiast
Posts: 40
Karma: 127198
Join Date: Aug 2011
Location: Malmö, Sweden
Device: Kobo Aura 1, Kindle DXG, Kindle PW2
|
I have published a new version for testing, 0.3.0, that automatically finds ASINs via goodreads.com (Amazon disabled in this version). You can compare it with version 0.2.0 (the one from "Nicolas F") and compare the results. I'm trying to determine the difference in results from both sites and if it's necessary to scrape both.
As usual, any feedback is more than welcome. |
06-07-2017, 04:52 AM | #28 |
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Running the two versions side by side, every time the goodreads version could at least find the same covers or found more. So it doesn't seem necessary to scrape both (as stated above I believe that since amazon bought goodreads the database are at least partially interconnected)
It could be interesting to scrape the other languages amazon websites since goodreads have a very good database of english titles but isn't has good for foreign editions (searching for french titles in my case). But I haven't included it in what I coded. It could be done with an option to chose which stores to use. Edit: all my books have a goodreads id, so the plugin is searching using this id. Last edited by Nicolas F; 06-07-2017 at 04:58 AM. |
06-07-2017, 04:59 AM | #29 | |
Wizard
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Quote:
|
|
06-07-2017, 05:09 AM | #30 |
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
I don't know wich version you tried, the one in the post you cited is not the latest. lbschenkel made a new one that scrapes goodreads to find the ASIN. It can find more covers (but it will also find more covers in the wrong language)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Amazon.de | karlheinzbehr | Plugins | 1 | 06-21-2016 10:10 AM |
[Metadata Source Plugin] Question: Amazon.com | silbaer | Calibre | 13 | 12-31-2015 12:12 PM |
[Metadata Source Plugin] Amazon.CN | fated | Plugins | 0 | 11-20-2014 04:59 PM |
Amazon Metadata source plugin not working | Stormvision | Plugins | 3 | 05-03-2013 08:20 AM |
[Metadata Source Plugin] Amazon.it | nandocuci | Plugins | 2 | 05-18-2011 02:36 AM |