06-17-2011, 07:59 AM | #1 |
Addict
Posts: 384
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
Special Notes:
Update info 5.1.3
known issues:
Installation Notes:
Paypal Donations: Version History: Spoiler:
Last edited by Pr.BarnArt; 03-19-2023 at 08:46 AM. Reason: update 5.1.3 |
06-18-2011, 03:21 AM | #2 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2011
Device: sony prs-600
|
Hi,
thank you very much for the plugin. I've installed like the other plugins (I assume it works the same because your txt was empty ). But when I try to find metadata, it doesn't find anything. I've tried it on several books and no result. Any ideas ? Bolligske |
Advert | |
|
06-18-2011, 07:21 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2011
Device: bebook club
|
Would be a great plug-in, but it does not work for me.
This is the message in Calibre: calibre, version 0.8.6 ERROR: Geen overeenkomsten gevonden: <p>Geen boeken gevonden voor de zoekopdracht. Probeer de zoekopdracht <b>minder specifiek</b> te maken. Gebruik bijvoorbeeld alleen de achternaam van de schrijver of één enkel sleutelwoord uit de titel. Om alle meldingen te zien klik je op "Toon details". Starting download Navraag: title:Het scherventapijt; authors:Loes den Hollander Running identify query with parameters: {u'authors': [u'Loes den Hollander'], u'identifiers': {}, u'timeout': 30, u'title': u'Het scherventapijt'} Using plugins: BOL_NL The log from individual plugins is below ****************************** BOL_NL ****************************** Request extra headers: [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] Found 0 results Downloading from BOL_NL took 0.43499994278 Querying: http://www.bol.com/nl/s/boeken/zoekr...equestid=17572 Plugin BOL_NL failed Traceback (most recent call last): File "site-packages\calibre\ebooks\metadata\sources\identify. py", line 41, in run File "calibre_plugins.BOL_NL.__init__", line 193, in identify ImportError: cannot import name Worker ************************************************** ****************************** The identify phase took 0.64 seconds The longest time (0.435000) was taken by: BOL_NL Merging results from different sources and finding earliest publication dates We have 0 merged results, merging took: 0.00 seconds |
06-18-2011, 08:56 AM | #4 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2011
Device: Sony PRS-650
|
Same here
calibre, version 0.8.6 ERROR: Geen overeenkomsten gevonden: <p>Geen boeken gevonden voor de zoekopdracht. Probeer de zoekopdracht <b>minder specifiek</b> te maken. Gebruik bijvoorbeeld alleen de achternaam van de schrijver of één enkel sleutelwoord uit de titel. Om alle meldingen te zien klik je op "Toon details". Starting download Navraag: title:Ik wil trouwen!; authors:Ghada Abdel Aal; isbn:9789046808221 Running identify query with parameters: {u'authors': [u'Ghada Abdel Aal'], u'identifiers': {u'isbn': u'9789046808221'}, u'timeout': 30, u'title': u'Ik wil trouwen!'} Using plugins: BOL_NL The log from individual plugins is below ****************************** BOL_NL ****************************** Request extra headers: [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] Found 0 results Downloading from BOL_NL took 3.34999990463 Querying: http://www.bol.com/nl/s/boeken/zoekr...questid=116710 Plugin BOL_NL failed Traceback (most recent call last): File "site-packages\calibre\ebooks\metadata\sources\identify. py", line 41, in run File "calibre_plugins.BOL_NL.__init__", line 193, in identify File "site-packages\calibre\customize\zipplugin.py", line 147, in load_module File "calibre_plugins.BOL_NL.worker", line 210 pub_date_node = root.xpath('//div [@class="first_tab_paragraph"]/label [@for="search_more_option3138"]') ^ IndentationError: expected an indented block ************************************************** ****************************** The identify phase took 3.41 seconds The longest time (3.350000) was taken by: BOL_NL Merging results from different sources and finding earliest publication dates We have 0 merged results, merging took: 0.00 seconds When I copy/paste the generated url by the plugin in the browser "http://www.bol.com/nl/s/boeken/zoekresultaten/Ntt/9789046808221/Nty/1/search/true/searchType/adv/section/books/N/8293/Ntk/isbncode/index.html?_requestid=116710" i'm getting te correct book I hope it's getting solved soon because i was realy looking forward to this plugin. |
06-18-2011, 09:35 AM | #5 | |
Addict
Posts: 384
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
Please be me more specific, what book did you tried ( seach by isbn or by title / author). Post the log file and I can take a look. Thx for your reaction, only that we way can make it good btw: the txt file needs to be empty, it is used by calibre. Last edited by Pr.BarnArt; 06-18-2011 at 02:51 PM. |
|
Advert | |
|
06-18-2011, 10:04 AM | #6 | |
Addict
Posts: 384
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
Due to the log I think u need the newer 0.2a version. ( i did cleanup too much from the debug code). See the first post in this topic But the title could be a problem, connected to the way bol uses the title of the book. They show the title sometimes without "Het" or "De". That conflicts with the exact title of the book. And they are not consequent. P.e. see "De eetclub saskia noort", some say only "Eetclub" and other(older ones?) say "De eetclub". For that this version only accepts the exact match of the book title. (Othere wise the title of your book in Calibre may be changed the wrong way" But thinking for a solution. Thx for your comment. Last edited by Pr.BarnArt; 06-18-2011 at 11:12 AM. |
|
06-18-2011, 10:13 AM | #7 | |
Addict
Posts: 384
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
I will take a look, dont think it is a big problem. Before i distribute a version I am used to clean up the code (used for debugging). I am newbie for python and it seems to be critical for indents in the code. I presume I deleted an extra space or so. edit: Yes I did, see new version in the start of this topic 0-2a Thx for the remarks I will keep you informed Last edited by Pr.BarnArt; 06-18-2011 at 11:13 AM. |
|
06-18-2011, 04:31 PM | #8 |
Connoisseur
Posts: 91
Karma: 10
Join Date: Jul 2010
Location: Gouda, The Netherlands
Device: Kobo Aura & Kobo Libra
|
Yes, version 2a is working. I've tried 3 different (Dutch) books and all 3 are correct. This wil save me lots and lots of cut-and-paste. Thank you
|
06-19-2011, 06:17 AM | #9 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2011
Device: bebook club
|
Version 2a works great!! Thanks a lot
|
06-19-2011, 09:55 AM | #10 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2011
Device: sony prs-600
|
|
06-19-2011, 10:06 AM | #11 |
Calibre Plugins Developer
Posts: 4,688
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Pr.BarnArt - when you are happy that this plugin is ready to be "officially" released and added to the Plugin Index sticky thread (so people can download via plugin updater), drop me a PM. All the information I need is detailed on that page at the spoiler at the top - look at the existing entries for other plugins and you will see everything I need to be able to add it such as the internal plugin name, description, internal version, calibre version etc.
|
06-19-2011, 11:16 AM | #12 |
Connoisseur
Posts: 91
Karma: 10
Join Date: Jul 2010
Location: Gouda, The Netherlands
Device: Kobo Aura & Kobo Libra
|
There is stil a slight problem with the description field. There are many <br> extra in the text wich are not in the original text at BOL?
One example BOL Original: <div id="js_product_description" class="content_tab"> <h2>Beschrijving</h2> Dit boek vertelt mijn verlangen en vastberadenheid om weer heel te worden, het zoeken naar een andere, betekenisvolle relatie met mijn overleden zoon en mijn zoektocht naar een zinvolle toekomst.<br /> The plugin: <div><p class="description">Beschrijving<br><br>Dit boek vertelt mijn verlangen en vastberadenheid om weer<br>heel te worden, het zoeken naar een andere, betekenisvolle relatie<br>met mijn overleden zoon en mijn zoektocht naar een zinvolle<br>toekomst.<br> I hope you can fix it! == Not every book has this problem!! The above one is "De dood & de jongen" by "Tsjitske Waanders" Last edited by Dompie; 06-19-2011 at 11:29 AM. Reason: Extra Info |
06-19-2011, 04:47 PM | #13 |
Addict
Posts: 384
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
New update: version 0.3 released
It is becoming more mature , please comment ,that can make it better. You can find the new version at the start-post op this thread. |
06-19-2011, 04:48 PM | #14 | |
Addict
Posts: 384
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
|
|
06-19-2011, 04:49 PM | #15 | |
Addict
Posts: 384
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
Thank you, I will take a look |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Libri.hu [Deprecated] | Daermond | Plugins | 5 | 10-02-2012 06:07 AM |
[Metadata Source Plugin] Moly.hu [Deprecated] | Daermond | Plugins | 7 | 09-23-2012 04:48 AM |
Request : metadata source plugin for bol.com | bolligske | Plugins | 8 | 06-17-2011 08:44 AM |
[Metadata Download Plugin] Goodreads Metadata **Deprecated** | kiwidude | Plugins | 30 | 04-23-2011 03:10 PM |
metadata plugin | redneck_momma | Plugins | 1 | 05-21-2010 09:41 PM |