View Single Post
Old 06-17-2011, 06:59 AM   #1
Pr.BarnArt
Addict
Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.
 
Pr.BarnArt's Avatar
 
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
[Metadata Source Plugin] BOL.com (NL)

BOL_NL - Version 5.1.3 - March 19th, 2023 by Pr. BarnArt.

This plugin is for using BOL.com as a metadata source.
It is only for books in the Dutch language, that's why it is called BOL_NL.
It was based on the 'Barnes' work by 'Grant Drake'.

Main Features of BOL_NL v 5.1.3
  • retrieve isbn.
  • retrieve (multiple) author(-s) (no contributors/translators), title.
  • retrieve comments, cover, rating, publisher and publishing date.
  • retrieve language
  • option to search for ebook-editions only ( if not ISBN-based)
  • option: to retrieve rejected titles in case no exact match is found - default= yes
  • option: to retrieve reviews(NBD/Biblion) besides description - default = yes
    (request Triniton ;-)
  • option: to retrieve covers from Literatuurplein.nl if availalble - default = no (request Wipneus )
  • option: to retrieve only covers from Literatuurplein.nl, not from bol.com (request Wipneus)
  • option: to retrieve tags for Age, Categorie (request Sanghoku)

Special Notes:
  • BOL_NL first looks for a match on the isbn-number, if that is know.
  • Otherwise it takes the author's name and the exact booktitle.
  • If there is no match, the user is shown the rejected titles, so he/she can choose if there is an alternative (not under osX, see know issues).
  • requires calibre 0.8.5 or higher.

Update info 5.1.3
  • changes related to website changes with title

known issues:
  • sometimes no cover with "inkijkexemplaar", just text.
  • when search is based on isbn there is no rating-info
  • Under osX it is not possible to use a dialog window in a plugin for rejected titles. So for osX users the advise is to disable this option in the configuration of the plugin. It seems the same for (some) Linux-users.
  • Temporary disabled dialog rejected titles , due to qt6 conversion

Installation Notes:
  • Download the attached zip file and install the plugin as described in the Introduction to plugins thread.
  • You can configure the plugin within Calibre.
  • Here you can select the options for description and reviews (NBD/Biblion),
    for covers from Literatuurplein and for tags.


Paypal Donations:
  • If you find this plugin useful please feel free to show your appreciation.

Version History:
Spoiler:

v. 5.1.3 19-3-2023
-changes related to website changes with serie info in title
v. 5.1.2 27-11-2022
-changes related to website changes with serie info in title
v. 5.1.1 21-9-2022
-fix for website changes related to publisher and publish date
v. 5.1.0 19-9-2022
- changes related to website changes
- temporary disabled dialog rejected titles , due to qt6 conversion
v. 5.0.0 11-7-2022
- changes related to Calibre 6 using qt6
v. 4.5.5 16-7-2021
fix for website-changes according covers[*] fix for website-changes according category/tags

v. 4.5.4 23-6-2021
- fix for websitechanges

v. 4.5.3 11-4-2021
- fix for websitechanges according to covers

v. 4.5.2 4-2021
- change for some more website_change covers

v. 4.5.1 27-3-2021
- change for website_change covers

v. 4.5.0. 19-7-2020
- change for website_change according to publisher

v. 4.4.0. 7-5-2020
- change for search based on author and title

v. 4.3.0. 10-2-2020
- get Reviews ("Recensies") (if checked in the config file) in case no description is available

v. 4.2.0. 2-2-2020
-fix bug related ISBN-based search

v. 4.1.0. 30-1-2020
-fix bug related to rejected titles

v. 4.0.0. 7-1-2020
- prepared for both python 2.7 and python 3.x
- fix for languages
- add dutch translation for config-window

v. 3.8.28 24-12-2019
- change due to bol.com joking with isbn search

v. 3.8.27 23-12-2019
-change due to clickable images at the website.

v. 3.8.26 22-12-2019
- change due to website changes of bol.com

v. 3.8.24/25 30-5-2019
- change due to website changes of bol.com

v. 3.8.23 31-3-2019
- change due to website changes of bol.com

v. 3.8.22 17-2-2019
- change due to website changes of bol.com,
- substract buy-links from comments;

v. 3.8.21 23-3-2018
- change for finding reviews

v.3.8.20 14-2-2018
- change due to website changes of bol.com, where the server serves different code at searchpages.

v. 3.8.19 1-2-2018
- fix in case literatuurplein gets a 404 error and option is set for "get cover literatuurplein if available"
- textchange for source: bol.com
- remove first htmlcodes in description, showed as spaces some times

v. 3.8.18 31-1-2018
- fix due to website changes
- fix for retrieving covers from literatuurplein.nl

V 3.8.17 13-11-2017
- fix due to website_changes according to searchpages

V 3.8.16 11-7-2017
- fix for downloading covers.

V 3.8.15 30-4-2017
- fix for triple comments in some cases .

V 3.8.14 29-4-2017
- fix for website changes , which serves different comment-styles for the same book.

V 3.8.13 27-1-2017
- fix in case no author is named (strict isbn search)

v 3.8.12 25-10-2016
- The dialog for rejected titles is extended with the title and (first) author, to inform you which search returned no exact match.
-this dialog cannot be used in a osX environment ( see known issues

v 3.8.11 17-9-2016
- update due to websites changes related to tags/categories

v 3.8.10 22-8-2016
- Update due to websites changes
- Some layout changes for comments


v 3.8.9 28-7-2016
- Update due to websites changes

v 3.8.8 12-6-2016
- Fix for tags and rating due to websites changes

v 3.8.7 31-5-2016
- Update due to websites changes, the website serves pages in a random different html/style

V.3.8.6 16-5-2016
- Changed option for ebooks search to 'search ebooks only' (if not ISBN-based)
- Changed the method for this function.
- This option will not affect isbn-search

V.3.8.5 2-4-2016
- New option to search for ebook-editions , after install restart calibre maybe necessarry

V.3.8.4 7-3-2016
- Update due to website changes (related to authors in some cases)

V.3.8.3 31-10-2015
- Update due to website changes (authors).


V.3.8.2 18-10-2015
- Fix for retrieving cover

V.3.8.1 15-8-2015
- Fix for retrieving reviews

V.3.8 29-5-2015
- Update due to website changes of BOL regarding comments

V.3.6 19-4-2015
- Update due to website changes of BOL


V.3.5 1-2-2015
- Update due to website changes of BOL also for rejected titles

V.3.5 31-1-2015
- Update due to website changes of BOL
- Correct a typo (recencie to redecensie)

v.3.4.0 9-11-2014
- Update due to timezone problems with the publishing date , default day of the month is set to 2.

v.3.3.0 16-10-2014
- Update due to website change


v.3.2.1 10-9-2014
- Update due to website change / clean description to almost plain text

v 3.2.0 25-8-2014
- Update due to website change
- removed keywords and genre as base for tag search

v.3.1 1-8-2014
- update for retreiving cover due to website change

v.3.0 21-7-2014
- Porting to Qt5 for Calibre 2.0

v2.4 9-5-2014
- fix due to website change

v2.3 12-12-2013
- fix due to website change

v.2.2.5 19-9-2013
- fix authors-bug ( translators were add to the authors , if they are mentioned)
- fix bug publish_date, in case there was extra information shown, p.e. "midprice".

v.2.2.4 21-8-2013
- fix for another websitechange of bol.com.

v.2.2.3 5-7-2013
- update correct publisher and publish date in case of eBook version (Thx Wipneus)

v.2.2.2 15-6-2013
- correct publisher and publish date in case of eBook version

v.2.2.1 13-1-2013
- fix error when there are no reviews or when reviews were not selected by the user

v.2.2.0 11-1-2013
- fix for another websitechange of bol.com.

V.2.1.0
- small fix to prevent crash in case the default value for rejected books is not saved

v.2.0.0 9-11-2011
- add a dialog for choosing an alternative title if there no match with the exact title.
- small fix because of website-change.
- delete serie variables.
- add option for rejected titles in the configuration settings.(2.0.1)
- delete extra<br> at comments (2.0.1)

v.1.8.2 - 21-10-2012
- cleanup code , because some debug code was left.

v.1.8.1 - 19-10-2012
- fix for another websitechange of bol.com.

v.1.8.0 - 27-9-2012
- Quick fix for another dirty websitechange of bol.com.
They now serve different (xml-)pages of the same object in a random way.
So the plugin needs to do some more analyzing

v.1.7.0 - 6-7-2012
- add option: to retrieve tags/labels Genre,Age,Categorie,Keywords ((request SangHoku)) Default = no tags

v 1.6.2 - 22-4-2012
- added language as metadata item
- add option: to retrieve covers from Literatuurplein.nl if availalble- default = no (request Wipneus )
- add option: to retriev only covers from Literatuurplein.nl, not from bol.com (request Wipneus)
- settings are done in the configuration window

v 1.6.0 - 7-2-2012
- fix for another websitechange of bol.com related to authors
- add link to mobileread forum for error and requests in the configuration section

v.1.5.1 - 22-1-2012
- fix for title-info when searching on isbn-number.


v. 1.5.0 - 19-1-2012
- Quick fix for another websitechange of bol.com

v.1.4.0 - 4-1-2012
- Quick fix for websitechange of bol.com

v. 1.3.0 - 31-7-2011
- add option for description and reviews, or just description (request from Triniton)

v. 1.2.0 - 7-7-2011
- fix noimage now skipped as cover
- fix no match if Bol ommits 'de','het' or 'een' as start of the title

v. 1.1.0 - 25-6-2011
fix: rating was set to 0 when searching on isbn.
fix: parsing end of lines in comments (problem: no space after a word on the end of a line) (thx Dompie).

v. 1.0.0 - 21-6-2011
intial production release.
fix: no matches found on isbn-pages with less information.
fix: error when "verschijningsjaar" is more than just a year.

v. 0.3.1 - 20-6-2011 - beta
change: skip "Beschrijving" at description.
fix: prevent unnecessary "<br>"'s in description by converting webtext.

v. 0.3.0 - 19-6-2011 - beta
add: more specific publish date.
add: rating.
add: exclude 'luisterboek / cd / voorgelezen' from results.
add: if no 'inkijkememplaar', then take the small one on the webpage.
fix: now getting larger covers (bol.com mislead me a bit, by offering thumbs in stead of large cover;-).

v. 0.2.1 - 18-6-2011 - beta
fix: cleanud up to much (debug-)code.

v. 0.2.0 - 18-6-2011 - beta
change: comments is more accurate, also including "(source:Bol.com)" .
add: publisher_data, pub_date(year only).
fixed: multiple authors.

v. 0.1.1 - 17-6-2011 - beta
initial release.
Attached Files
File Type: zip BOL_NL5.1.3.zip (23.0 KB, 19288 views)

Last edited by Pr.BarnArt; 03-19-2023 at 07:46 AM. Reason: update 5.1.3
Pr.BarnArt is offline   Reply With Quote