Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2023, 09:09 AM   #1
NotSimone
Book Enjoyer
NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
[Metadata Source Plugin] Kobo Metadata

Grabs metadata from the Kobo store

Features
  • Can grab title, author, synopsis, publisher, published date, series, and tags
  • Can fetch high res cover art
  • Blacklist tags / terms in the title
  • Select from different countries

Note that Kobo seems to do a pretty bad job of tagging series properly - not much I can do about that

Troubleshooting

If the plugin is having trouble picking up the right book, you can try either:
  • Opening the book details and using the "Edit Metadata Individually" button while turning the "Number of matches to fetch" setting up.
  • Adding the isbn to the "Ids" field

If you are getting 503 errors, leave it alone and try again tomorrow. The cloudflare bot protection seems to have some kind of lockout mechanism so give it some time to reset.

Source: https://github.com/NotSimone/Kobo-Metadata

Feel free to make a PR if you're into that

Version History
Spoiler:

1.7.0
  • Feature: Support updated Kobo challenge page
  • Feature: Support Kobo updating isbn -> book id
  • Bugfix: Added short sleep before retrying webpage retrieval, hopefully this improves reliability
1.6.3
  • Bugfix: Added up to 10 retries for defeating cloudflare protection
1.6.2
  • Bugfix: Fix issue with searching for covers while an isbn is specified
1.6.1
  • Bugfix: Properly handle identify when isbn is specified
1.6.0
  • Feature: Added cloudscraper to bypass new cloudflare bot protection on Kobo websites
1.5.0
  • Feature: Better support for non-english native countries
  • Bugfix: Bumped Calibre version requirements so we hit the minimum Python version
  • Feature: Support for new style Kobo pages
1.4.0
  • Bugfix: Correctly handle ISBNs not always directing straight to their book page
  • Feature: Get results from multiple pages
1.3.1
  • Bugfix: Fixed handling of series metadata in books without series indexes
1.3.0
  • Added ebook filter to improve search
  • Will now perform the regular search in addition to isbn search
  • Updated series matching to work with the updated kobo website
  • Fixed overzealous matching of empty blacklist fields
1.2.1
  • Fixed an issue with the quality of rescaled cover art
1.2.0
  • Added option to download cover at original resolution
  • Fixed cover downloading when cover cache url is not available
1.1.0
  • Respect maximum_cover_size tweak when downloading cover art
  • Added option to limit the number of matches to fetch
1.0.0
  • Initial release
Attached Files
File Type: zip Kobo-Metadata.zip (1.29 MB, 393 views)

Last edited by NotSimone; 10-28-2024 at 01:11 AM. Reason: Fixed formatting of plugin post and updated version
NotSimone is offline   Reply With Quote
Old 09-03-2023, 10:11 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
davidfor's original plugin is working. How is your different?

What would make your plugin different is to be able to set the country.

Last edited by JSWolf; 09-03-2023 at 10:18 AM.
JSWolf is offline   Reply With Quote
Advert
Old 09-03-2023, 11:59 AM   #3
NotSimone
Book Enjoyer
NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
The other party trick it has is to blacklist certain tags or words in the title - useful when there are different media formats of the same series floating around. But otherwise, the existing plugin was a bit janky from all the different people piling on and adding their own fixes every time it stopped working - seemed like a decent opportunity to start clean and use some of the more modern python features
NotSimone is offline   Reply With Quote
Old 09-03-2023, 12:56 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,449
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
davidfor's original plugin is working. How is your different?

What would make your plugin different is to be able to set the country.
The behaviour is also different for cover images. The Kobo Books plugin will fit the cover image to the maximum allowed by calibre so if calibre is set to allow a 2400x3600 maximum cover image size and the downloaded image was 1650x2200, the image returned will be 2400x3200. The Kobo Metadata plugin would give the original 1650x2200 image. See The maximum width and height for covers saved in the calibre library tweak.
DNSB is offline   Reply With Quote
Old 09-04-2023, 06:59 AM   #5
NotSimone
Book Enjoyer
NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
The behaviour is also different for cover images. The Kobo Books plugin will fit the cover image to the maximum allowed by calibre so if calibre is set to allow a 2400x3600 maximum cover image size and the downloaded image was 1650x2200, the image returned will be 2400x3200. The Kobo Metadata plugin would give the original 1650x2200 image. See The maximum width and height for covers saved in the calibre library tweak.
Aha I missed this one - easy enough to add. Strangely enough Kobo seems to only look at the width and not the height before matching aspect ratio even though it takes height as part of the url.
Attached Files
File Type: zip KoboMetadata.zip (4.0 KB, 4852 views)
NotSimone is offline   Reply With Quote
Advert
Old 09-04-2023, 05:37 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by NotSimone View Post
Aha I missed this one - easy enough to add. Strangely enough Kobo seems to only look at the width and not the height before matching aspect ratio even though it takes height as part of the url.
If this is not a beta version, the attachment in the first post needs to be replaced with this one and this attachment removed.

Also, the first post should be reformatted so calibre picks it up and adds it to the list.

Last edited by JSWolf; 09-04-2023 at 05:41 PM.
JSWolf is offline   Reply With Quote
Old 09-04-2023, 06:10 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I've tried both versions and neither version works for me. I get no covers downloaded. I've tried both USA and UK.

Here is the debug log for the latest version with calibre 6.25. It looks like maybe something has changed at Kobo.
Code:
Starting cover download for: Fairy Tale 
Query: Fairy Tale ['Stephen King'] {} 

****************************** Barnes & Noble Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')] 
Downloaded cover: 460x700 
Took 3.9463155269622803 seconds 
No cached cover found, running identify
Querying: https://www.barnesandnoble.com/s?store=book&keyword=Fairy+Tale+Stephen+King
Parsing search results
Considering search result: Fairy Tale by Stephen King
Rejecting as not close enough match: Summary of Fairy Tale: by by Alexander Cooper
Rejecting as not close enough match: Cuento de hadas: Una novela / by Stephen King
Considering search result: Fairy Tale by Stephen King
Considering search result: Fairy Tale by Stephen King & Bernhard Kleinschmidt (Translator)
B&N url: https://www.barnesandnoble.com/w/fairy-tale-stephen-king/1140917915?ean=9781668002179
Downloading cover from: http://prodimage.images-bn.com/lf?source=url[file:images/Images/pimages/2179/9781668002179_p0.jpg]&sink 

******************************************************************************** 

****************************** Kindle hi-res covers Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')] 
Failed to download valid cover 
Took 5.095068454742432 seconds 
ASIN not present in metadata
Goodreads id not present in metadata
ISBN not present in metadata
Searching Goodreads for book: https://www.goodreads.com/search?q=Fairy+Tale+Stephen+King
Fetching book details: https://www.goodreads.com/book/show/62791805-fairy-tale-hardcover-by-stephen-king-lord-of-the-flies-by-william-gol?from_search=true&from_srp=true&qid=dPq5yawbc6&rank=1
Cover URLs: [] 

******************************************************************************** 

****************************** Kobo Books Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15')] 
Failed to download valid cover 
Took 3.965352773666382 seconds 
No cached cover found, running identify
identify - title: "Fairy Tale" authors= "['Stephen King']"
create_query - title: "Fairy Tale"
create_query - after decode title: "Fairy Tale"
create_query - title_tokens: "['Fairy', 'Tale']"
Querying: https://www.kobo.com/search?Query=Fairy+Tale+Stephen+King&fcmedia=Book&fclanguages=all
failed using three divs
Have close enough match - title='Fairy Tale', id='fairy-tale-22'
failed using three divs
Have close enough match - title='Fairy Tale', id='fairy-tale-17'
failed using three divs
Have close enough match - title='Fairy Tale', id='fairy-tale-19'
failed using three divs
Have close enough match - title='Fairy Tale', id='fairy-tale-20'
failed using three divs
Have close enough match - title='SUMMARY BOOK OF STEPHEN KING; FAIRY TALE', id='summary-book-of-stephen-king-fairy-tale'
KoboBooks url: 'https://www.kobo.com/ebook/fairy-tale-22'
KoboBooks url: 'https://www.kobo.com/ebook/fairy-tale-17'
KoboBooks url: 'https://www.kobo.com/ebook/fairy-tale-19'
KoboBooks url: 'https://www.kobo.com/ebook/fairy-tale-20'
KoboBooks url: 'https://www.kobo.com/ebook/summary-book-of-stephen-king-fairy-tale'
parse_details - kobobooks_id: "fairy-tale-20" 
parse_details - title: "Fairy Tale" 
parse_authors - author: "Stephen King"
parse_authors - authors: "['Stephen King']"
parse_details - authors: "['Stephen King']" 
No scripts founds for book details metadata????
parse_series - series_name=None, series_index=None
Error parsing cover for url: 'https://www.kobo.com/ebook/fairy-tale-20'
Traceback (most recent call last):
  File "calibre_plugins.kobobooks.worker", line 165, in parse_details
  File "calibre_plugins.kobobooks.worker", line 300, in parse_cover
ValueError: invalid literal for int() with base 10: '74f19e86-431d-42a9-874e-3e93c9daa67e'

parse_details - kobobooks_id: "fairy-tale-22" 
parse_details - title: "Fairy Tale" 
parse_authors - author: "Stephen King"
parse_authors - authors: "['Stephen King']"
parse_details - authors: "['Stephen King']" 
No scripts founds for book details metadata????
parse_series - series_name=None, series_index=None
Error parsing cover for url: 'https://www.kobo.com/ebook/fairy-tale-22'
Traceback (most recent call last):
  File "calibre_plugins.kobobooks.worker", line 165, in parse_details
  File "calibre_plugins.kobobooks.worker", line 300, in parse_cover
ValueError: invalid literal for int() with base 10: 'b8c98ca3-e8f4-412d-97c9-2162363af9b9'

parse_details - kobobooks_id: "summary-book-of-stephen-king-fairy-tale" 
parse_details - title: "SUMMARY BOOK OF STEPHEN KING; FAIRY TALE" 
parse_authors - author: "Mike Vincent"
parse_authors - authors: "['Mike Vincent']"
Rejecting authors as not a close match:  Mike Vincent
parse_details - authors: "None" 
Could not find title/authors/KoboBooks id for 'https://www.kobo.com/ebook/summary-book-of-stephen-king-fairy-tale'
Kobo Books: 'summary-book-of-stephen-king-fairy-tale' Title: 'SUMMARY BOOK OF STEPHEN KING; FAIRY TALE' Authors: None
parse_details - kobobooks_id: "fairy-tale-17" 
parse_details - title: "Fairy Tale" 
parse_authors - author: "Stephen King"
parse_authors - authors: "['Stephen King']"
parse_details - authors: "['Stephen King']" 
No scripts founds for book details metadata????
parse_series - series_name=None, series_index=None
Error parsing cover for url: 'https://www.kobo.com/ebook/fairy-tale-17'
Traceback (most recent call last):
  File "calibre_plugins.kobobooks.worker", line 165, in parse_details
  File "calibre_plugins.kobobooks.worker", line 300, in parse_cover
ValueError: invalid literal for int() with base 10: '00fc74ca-66d2-4741-b3fa-6847508ab303'

parse_details - kobobooks_id: "fairy-tale-19" 
parse_details - title: "Fairy Tale" 
parse_authors - author: "Stephen King"
parse_authors - authors: "['Stephen King']"
parse_details - authors: "['Stephen King']" 
No scripts founds for book details metadata????
parse_series - series_name=None, series_index=None
Error parsing cover for url: 'https://www.kobo.com/ebook/fairy-tale-19'
Traceback (most recent call last):
  File "calibre_plugins.kobobooks.worker", line 165, in parse_details
  File "calibre_plugins.kobobooks.worker", line 300, in parse_cover
ValueError: invalid literal for int() with base 10: 'c0a0f150-c619-48b5-9eba-e10657244676'

No cover found 

******************************************************************************** 

****************************** Kobo Metadata Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')] 
Failed to download valid cover 
Took 2.055835485458374 seconds 
KoboMetadata::download_cover: No cached url found, running identify
KoboMetadata::identify: title: Fairy Tale, authors: ['Stephen King'], identifiers: {}
KoboMetadata::identify: Searching with query: Fairy Tale Stephen King
KoboMetadata::identify: Searching for book with url: https://www.kobo.com/us/en/search?query=Fairy+Tale+Stephen+King
KoboMetadata::identify: Looking up metadata with url: https://www.kobo.com/us/en/ebook/fairy-tale-16
KoboMetadata::_lookup_metadata: Got title: Fairy Tale
KoboMetadata::_lookup_metadata: Got authors: ['Stephen King']
KoboMetadata::_lookup_metadata: Got publisher: Scribner
KoboMetadata::_lookup_metadata: Got pubdate: 2022-09-06 00:00:00+00:00
KoboMetadata::_lookup_metadata: Got isbn: 9781668002186
KoboMetadata::_lookup_metadata: Got language: English
KoboMetadata::_lookup_metadata: Got tags: {'Thrillers', 'Science Fiction & Fantasy', 'Mystery & Suspense', 'Fantasy'}
KoboMetadata::_lookup_metadata: Got comments: b'
A #1 New York Times Bestseller and New York Times Book Review Editors’ Choice!
\n
Legendary storyteller Stephen King goes into the deepest well of his imagination in this spellbinding novel about a seventeen-year-old boy who inherits the keys to a parallel world where good and evil are at war, and the stakes could not be higher—for that world or ours.
\n
Charlie Reade looks like a regular high school kid, great at baseball and football, a decent student. But he carries a heavy load. His mom was killed in a hit-and-run accident when he was ten, and grief drove his dad to drink. Charlie learned how to take care of himself—and his dad. When Charlie is seventeen, he meets a dog named Radar and her aging master, Howard Bowditch, a recluse in a big house at the top of a big hill, with a locked shed in the backyard. Sometimes strange sounds emerge from it.
\n
Charlie starts doing jobs for Mr. Bowditch and loses his heart to Radar. Then, when Bowditch dies, he leaves Charlie a cassette tape telling a story no one would believe. What Bowditch knows, and has kept secret all his long life, is that inside the shed is a portal to another world.
\n
Magnificent, terrifying, and “spellbinding…packed with glorious flights of imagination and characteristic tenderness about childhood, Fairy Tale is vintage King at his finest” (Esquire).
\n
“Good, evil, a kingdom to save, monsters to slay—these are the stuff that page-turners are made from.” —Laura Miller, Slate
\n
 \r\n    '
KoboMetadata::_lookup_metadata: Got cover: https://cdn.kobo.com/book-images/0b63e53e-de3c-4069-b02e-e73ce05272df/2000/4000/90/False/fairy-tale-16.jpg
KoboMetadata::_check_title_blacklist: blacklisted title words: {''}
KoboMetadata::_check_tag_blacklist: blacklisted tags: blacklisted_tags
Failed to download cover from Kobo Metadata
Traceback (most recent call last):
  File "calibre\ebooks\metadata\sources\covers.py", line 46, in run
  File "calibre_plugins.dummy2.__init__", line 220, in download_cover
AttributeError: 'Queue' object has no attribute 'front' 

******************************************************************************** 

****************************** Google Images Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')] 
Downloaded cover: 2244x2992 
Took 1.58723783493042 seconds 
Search URL: https://www.google.com/search?as_st=y&tbm=isch&as_q=Fairy+Tale+Stephen+King&as_epq=&as_oq=&as_eq=&cr=&as_sitesearch=&safe=images&tbs=isz:lt,islt:svga,iar:t,ift:jpg
Downloading 5 covers
Downloaded cover from: https://m.media-amazon.com/images/I/612BYerla-L._AC_UF894,1000_QL80_.jpg
Downloaded cover from: https://m.media-amazon.com/images/I/71CNQzIm1AL._AC_UF894,1000_QL80_.jpg
Downloaded cover from: https://d28hgpri8am2if.cloudfront.net/book_images/onix/cvr9781668002193/fairy-tale-9781668002193_hr.jpg
Downloaded cover from: http://bookspaperscissors.co.uk/cdn/shop/files/image_c096ce02-9bb5-4125-9e22-b66a10963503_1024x1024.heic?v=1686145576
Downloaded cover from: https://i.etsystatic.com/28166605/r/il/8d4d14/4521256305/il_fullxfull.4521256305_req6.jpg 

******************************************************************************** 

****************************** Amazon.com Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36'), ('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'), ('Upgrade-insecure-requests', '1'), ('Referer', 'https://www.google.com/search?q=Fairy+Tale+Stephen+King+site%3Awww.amazon.com')] 
Downloaded cover: 328x500 
Took 5.274893045425415 seconds 
No cached cover found, running identify
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=Fairy+Tale+Stephen+King+site%3Awww.amazon.com
Ignoring 'Fairy Tale: King, Stephenamazon.comhttps://www.amazon.com › Fairy-Tale-Stephen-King' as it has no cached page
Ignoring 'Fairy Tale: King, Stephenamazon.comhttps://www.amazon.com › Fairy-Tale-Stephen-King' as it has no cached page
Ignoring 'Fairy Tale: King, Stephenamazon.comhttps://www.amazon.com › Fairy-Tale-Stephen-King' as it has no cached page
Ignoring 'Fairy Tale: King, Stephenamazon.comhttps://www.amazon.com › Fairy-Tale-Stephen-King' as it has no cached page
Ignoring 'Fairy Tale: King, Stephenamazon.comhttps://www.amazon.com › Fairy-Tale-Stephen-King' as it has no cached page
Ignoring 'Fairy Tale: King, Stephenamazon.comhttps://www.amazon.com › Fairy-Tale-Stephen-King' as it has no cached page
Ignoring 'Images for Fairy Tale Stephen King site:www.amazon.com' as it has no cached page
Ignoring 'Images for Fairy Tale Stephen King site:www.amazon.com' as it has no cached page
Ignoring 'Images for Fairy Tale Stephen King site:www.amazon.com' as it has no cached page
Ignoring 'Images for Fairy Tale Stephen King site:www.amazon.com' as it has no cached page
Ignoring 'Images for Fairy Tale Stephen King site:www.amazon.com' as it has no cached page
Ignoring div with no main result link
Ignoring 'novel' as it has no cached page
Ignoring 'novel' as it has no cached page
Ignoring 'novel' as it has no cached page
Skipping non-book result: Result(url='https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175', title='Customer reviews: Fairy Taleamazon.comhttps://www.amazon.com › product-reviews', cached_url='https://webcache.googleusercontent.com/search?q=cache:Rd5nDSF0pUgJ:https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175&cd=10&hl=en&ct=clnk&gl=uk')
Skipping non-book result: Result(url='https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175', title='Customer reviews: Fairy Taleamazon.comhttps://www.amazon.com › product-reviews', cached_url='https://webcache.googleusercontent.com/search?q=cache:Rd5nDSF0pUgJ:https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175&cd=10&hl=en&ct=clnk&gl=uk')
Skipping non-book result: Result(url='https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175', title='Customer reviews: Fairy Taleamazon.comhttps://www.amazon.com › product-reviews', cached_url='https://webcache.googleusercontent.com/search?q=cache:Rd5nDSF0pUgJ:https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175&cd=10&hl=en&ct=clnk&gl=uk')
Skipping non-book result: Result(url='https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175', title='Customer reviews: Fairy Taleamazon.comhttps://www.amazon.com › product-reviews', cached_url='https://webcache.googleusercontent.com/search?q=cache:Rd5nDSF0pUgJ:https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175&cd=10&hl=en&ct=clnk&gl=uk')
Skipping non-book result: Result(url='https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175', title='Customer reviews: Fairy Taleamazon.comhttps://www.amazon.com › product-reviews', cached_url='https://webcache.googleusercontent.com/search?q=cache:Rd5nDSF0pUgJ:https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175&cd=10&hl=en&ct=clnk&gl=uk')
Skipping non-book result: Result(url='https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175', title='Customer reviews: Fairy Taleamazon.comhttps://www.amazon.com › product-reviews', cached_url='https://webcache.googleusercontent.com/search?q=cache:Rd5nDSF0pUgJ:https://www.amazon.com/Fairy-Tale-Stephen-King/product-reviews/1668002175&cd=10&hl=en&ct=clnk&gl=uk')
Downloading details from: https://webcache.googleusercontent.com/search?q=cache:7fovMmVc8g8J:https://www.amazon.com/Fairy-Tale-Stephen-King/dp/B0B1PLS7CB&cd=11&hl=en&ct=clnk&gl=uk
Found image: https://m.media-amazon.com/images/I/91aCox8y3rL._AC_UF350,350_QL50_.jpg
Downloading details from: https://webcache.googleusercontent.com/search?q=cache:HAsTD4WWph8J:https://www.amazon.com/Fairy-Tale-Stephen-King-ebook/dp/B09QXZB6SK&cd=22&hl=en&ct=clnk&gl=uk
Failed to find product description for url: 'https://webcache.googleusercontent.com/search?q=cache:HAsTD4WWph8J:https://www.amazon.com/Fairy-Tale-Stephen-King-ebook/dp/B09QXZB6SK&cd=22&hl=en&ct=clnk&gl=uk'
Downloading details from: https://webcache.googleusercontent.com/search?q=cache:mUh-KtKM5WEJ:https://www.amazon.com/Fairy-Tale/dp/1399705423&cd=23&hl=en&ct=clnk&gl=uk
Could not find title/authors/asin for 'https://webcache.googleusercontent.com/search?q=cache:mUh-KtKM5WEJ:https://www.amazon.com/Fairy-Tale/dp/1399705423&cd=23&hl=en&ct=clnk&gl=uk'
ASIN: '1399705423' Title: 'Fairy Tale' Authors: []
Downloading cover from: https://m.media-amazon.com/images/I/51WTYfWgfSL.jpg 

********************************************************************************

Last edited by JSWolf; 09-04-2023 at 06:33 PM.
JSWolf is offline   Reply With Quote
Old 09-04-2023, 08:59 PM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,449
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by NotSimone View Post
Aha I missed this one - easy enough to add. Strangely enough Kobo seems to only look at the width and not the height before matching aspect ratio even though it takes height as part of the url.
Personally, I prefer returning the original image. I don't need the plugin resizing it and then resizing it again to fit my choice for cover sizes.
DNSB is offline   Reply With Quote
Old 09-05-2023, 05:26 AM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Personally, I prefer returning the original image. I don't need the plugin resizing it and then resizing it again to fit my choice for cover sizes.
I agree. I do want the original image. But for now, I get no image.
JSWolf is offline   Reply With Quote
Old 09-05-2023, 06:27 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Why is Kobo Metadata showing up in identifiers (in Book details)? It should not be there.
JSWolf is offline   Reply With Quote
Old 09-05-2023, 07:44 AM   #11
NotSimone
Book Enjoyer
NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
If this is not a beta version, the attachment in the first post needs to be replaced with this one and this attachment removed.

Also, the first post should be reformatted so calibre picks it up and adds it to the list.
Sorry first time writing a Calibre plugin (and posting on this forum!). How do I edit a post?


Quote:
Originally Posted by JSWolf View Post
I've tried both versions and neither version works for me. I get no covers downloaded. I've tried both USA and UK.
Ahh I never tried downloading only covers so I never ran into this when testing. Its an issue related to picking up new cover urls that haven't been cached yet by the metadata download. I've fixed it and attached an updated version this reply.


Quote:
Originally Posted by DNSB View Post
Personally, I prefer returning the original image. I don't need the plugin resizing it and then resizing it again to fit my choice for cover sizes.
I agree here but tbh I have no idea how to get the original image from Kobo. Personally I think that whatever re-scaling algorithm they're using seems pretty good to my (not particularly discerning) eyes. If you ever figure it out, I'm happy to whack it in.


Quote:
Originally Posted by JSWolf View Post
Why is Kobo Metadata showing up in identifiers (in Book details)? It should not be there.
It looks like this happens with all metadata fetchers as long as it can generate a url from its identifier. Since I'm using the isbn as the identifier, the link will appear as long as you have the isbn set.
Attached Files
File Type: zip KoboMetadata.zip (4.0 KB, 649 views)
NotSimone is offline   Reply With Quote
Old 09-05-2023, 07:56 AM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,989
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by NotSimone View Post
. . .
How do I edit a post?
You go to the Lounge and post some replies to bump your post count - a dozen is usually enough.

BR
BetterRed is offline   Reply With Quote
Old 09-05-2023, 08:05 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Downloading covers is now working.

I really like being able to change between US and UK for downloading covers.

Thanks.

Last edited by JSWolf; 09-05-2023 at 08:15 AM.
JSWolf is offline   Reply With Quote
Old 09-05-2023, 02:20 PM   #14
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,449
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I've attached an image to show what I meant about the cover size. I reverted to the original version of KoboMetadata where the image was not resized on download for this test. The Kobo Books' downloaded cover (2460x3750) has been automatically resized to fit the maximum cover size in calibre while the Kobo Metadata's cover (1650x2514) has not been resized. With the new version, both plugins show the same cover size.
Attached Thumbnails
Click image for larger version

Name:	cover_download.png
Views:	759
Size:	582.3 KB
ID:	203578  
DNSB is offline   Reply With Quote
Old 09-05-2023, 06:32 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,354
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I too do not want the resided cover.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Kobo Books davidfor Plugins 201 10-17-2023 12:19 PM
[Metadata Source Plugin] BOL.com (DE) Pr.BarnArt Plugins 52 06-01-2023 05:50 PM
How do I know which Metadata Source Plugin was called from fetch-ebook-metadata? eryMpexI Library Management 6 04-22-2023 09:58 AM
Read a book's metadata in a Metadata source plugin? J-H Development 2 03-30-2021 10:08 AM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 09:07 PM


All times are GMT -4. The time now is 08:46 PM.


MobileRead.com is a privately owned, operated and funded community.