View Single Post
Old 01-01-2015, 07:02 AM   #1
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
[Metadata Source Plugin] Kobo Books

This plugin gets the metadata for books from the Kobo store.

Main Features
  • Can retrieve title, author, comments, publisher, publication date, series and tags.
  • Fetches high resolution covers using size defined by "maximum_cover_size" tweak.
  • The identifier used is "kobo". It will show in the details as "KoboBooks".

Installation Notes:
  • Download the attached zip file and install the plugin as described in the Introduction to plugins thread.
  • Note that this is not a GUI plugin so it is not intended/cannot be added to context menus/toolbars etc.

Configuration:
  • Tags are created from the categories Kobo has for the books. These are shown as a hierarchy on the page. When creating the tags, there are three choices on how to use the categories:
    • Top level only - Only use the highest level category.
    • Hierarchy - Create dot separated tags using each category hierarchy.
    • Individual tags - Create a tag for each category at each level.

Version History:
Spoiler:
Version 1.9.2 - 25 June 2022
  • Fix: Site change for title.

Version 1.9.1 - 16 June 2022
  • Fix: Site change for Publisher.
Version 1.9.0 - 05 April 2022
  • Fix: Site change for Series info
  • Fix: Set some request headers to one that the site seems to find acceptable.
Version 1.8.3 - 01 November 2021
  • Fix: Bot protection seems to have been added. Need to use a different user agent to get around it.
Version 1.8.2 - 20 March 2021
  • Fix: Remove debugging statement that was left in.
Version 1.8.1 - 20 March 2021
  • Fix: Change in tags around the title on both the details and search results pages.
Version 1.8.0 - 08 January 2020
  • Update: Changes for Python 3 support in calibre.
  • Fix: Wasn't encoding the author properly in the query.
Version 1.7.0 - 14 July 2019
  • Fix: Remove "sanitize_comments_html" from comments to workaround change in this in calibre 3.42.0.
  • Fix: If Kobo has no authors, do not reject.
  • Fix: Page layout change.
Version 1.6.0 - 29 March 2019
  • Fix: Page changes meaning errors getting publishing details and ISBN.
Version 1.5.0 - 31 December 2018
  • Change: Handle country specific URLs in id_from_url.
  • Change: Use HTTPS instead of HTTP.
Version 1.4.0 - 10 November 2018
  • Fix: Wasn't handling case where there were no tags/genres.
  • Fix: Missed fetching ISBN if there was an "Imprint".
  • New: Add support for fetching languages and rating and get high resolution cover. Based on code by MR member @qsxwdc
  • Change: Try for better support of other languages in search. Based on suggestion by MR member @Aerandir14
  • New: Add id_from_url to return the identifier.
Version 1.3.0 - 02 October 2017
  • Fix: Site changes for series info.
  • Fix: Workaround for search page differences.
Version 1.2.1 - 10 April 2017
  • Fix: Remove creation of debugging file.
Version 1.2.0 - 9 April 2017
  • Fix: Site changes for search.
  • Fix: Site changes for the details page.
Version 1.1.0 - 27 November 2016
  • Fix: Site changes to series and comments.
Version 1.0.0 - 01 January 2015
  • Initial release
Attached Files
File Type: zip KoboBooks.zip (9.4 KB, 32645 views)

Last edited by davidfor; 06-25-2022 at 03:40 AM. Reason: Update to version 1.9.2
davidfor is offline   Reply With Quote