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 10-31-2015, 07:43 AM   #241
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
Quote:
Originally Posted by Wipneus View Post
Thanks Pr.BarnArt but it don`t work.

I have tried two books.
isbn: 9055158593 - Het dikke schrift
isbn: 9023448502 - De Kantlezer

I got the same problems that in the line from the author i get the name author and the name of the publisher.
Now i got this this in the line author - (book Het dikke schrift)
Agota Kristof & Gennep B.V., Uitgeverij Van

Strange,
When I test: search for the book "Het dikke schrift" returns just Agota Kristof
When I do a search for "De Kantlezer" it returns 2 names: Brunonia Barry en Barry , Brunonia.
But thats is like how Bol list the authors ( first name lastname, and last name , firstname) in this case.

It seems to me that the update is not correct installed in your configuration:
In the zip file Bol_NL.zip there is a file named: worker.py.
(I think: c:\users\YOUR USERNAME\ appdata\Roaming\calibre\plugins\Bol_NL_zip.
Windows: show hidden directories/files is on)
It is the same file you can download at the start of this thread.

Can you find this part of code in that file?
Code:
def parse_authors(self, root):
		#search productinfo
		authors = []
		auteur_node = root.xpath('//div[@class="product_detail_title boxedbottom_s fleft"]/div/p[text()[contains(.,"Auteur")]]/span[@class="po_pdp_creator2"]/a')
You can read the file in a text-editor.
Pls let me know.

Last edited by Pr.BarnArt; 10-31-2015 at 05:06 PM.
Pr.BarnArt is offline   Reply With Quote
Old 10-31-2015, 10:58 AM   #242
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
Thanks for the quick update. So far it's working!!
fvdham is offline   Reply With Quote
Advert
Old 11-01-2015, 05:47 PM   #243
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
I found the code. It is the same as yours.
Quote:
return title

def parse_authors(self, root):
#search productinfo
authors = []
auteur_node = root.xpath('//div[@class="product_detail_title boxedbottom_s fleft"]/div/p[text()[contains(.,"Auteur")]]/span[@class="po_pdp_creator2"]/a')
if auteur_node:
for auteurs in auteur_node:
auteur=auteurs.text_content().strip()
authors.append(auteur)
valid_contrib = None
return authors
Wipneus is offline   Reply With Quote
Old 11-02-2015, 09:45 AM   #244
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
Quote:
Originally Posted by Wipneus View Post
I found the code. It is the same as yours.
curious and curiouser
For now I cannot reproduce the error you get.

You are an experienced user, but is it possible that in the configuration file you did uncheck author in the list of fields to download?

When you do a manual search, does the screen before you can choose to use a cover, also list the author and the publisher under te name of the book (title column)?

Last edited by Pr.BarnArt; 11-02-2015 at 10:02 AM.
Pr.BarnArt is offline   Reply With Quote
Old 11-02-2015, 11:27 AM   #245
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
After the last update i have no problems anymore. You had made 2 updates last weekend?
I always made the update and start Calbibre again.
Thanks !!

Na de laatste update heb ik het probleem niet meer. Je had toch 2 updates gemaakt afgelopen weekend? Na een update start ik Calibre altijd opnieuw op.
Bedankt !!
Wipneus is offline   Reply With Quote
Advert
Old 11-02-2015, 11:43 AM   #246
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
[QUOTE=Wipneus;3198881]After the last update I have no problems anymore. You had made 2 updates last weekend?
QUOTE]

There was only one update this weekend
But if all is ok now , we don't have problems anymore :cool
Pr.BarnArt is offline   Reply With Quote
Old 11-02-2015, 11:49 AM   #247
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
Everytime you solved the problem. Super Thanks !! What can we do without you.

Greetz Wipneus
Wipneus is offline   Reply With Quote
Old 11-06-2015, 05:55 AM   #248
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by Wipneus View Post
Everytime you solved the problem. Super Thanks !! What can we do without you.

Greetz Wipneus
Veel knip en plakwerk.. (a lot of copy and paste..)
Nick_1964 is offline   Reply With Quote
Old 11-06-2015, 04:23 PM   #249
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
Quote:
Originally Posted by Nick_1964 View Post
Veel knip en plakwerk.. (a lot of copy and paste..)
Thank you, that is exactly what a metadata source plugin is supposed to do.
Enjoy!
Pr.BarnArt is offline   Reply With Quote
Old 03-06-2016, 05:59 PM   #250
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
I have problems with some books with Bol.

Example:

Nachtelijk vuur from Sylvia day - isbn - 9402750657
Finding it from Cora Carmack - isbn - 9021401975

When i search with the isbn i get no information. The last time there are more books who had this.

De Laatste tijd heb ik dat ik geen informatie krijg zodra ik zoek op isbn bij Bol. Het bovenstaande boek is een voorbeeld en dit komt vaker voor de laatste tijd.

Thanks

Last edited by Wipneus; 03-06-2016 at 06:08 PM.
Wipneus is offline   Reply With Quote
Old 03-07-2016, 01:36 PM   #251
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
Quote:
Originally Posted by Wipneus View Post
I have problems with some books with Bol.
Thank you, good call.
It seems that in some cases the productinformation is shown in a different way.
Therfore I have made an update 3.8.4 , available - as always - at the start of this topic.
Pr.BarnArt is offline   Reply With Quote
Old 03-07-2016, 01:47 PM   #252
Wipneus
Connoisseur
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 77
Karma: 12
Join Date: Jan 2012
Location: Nederland
Device: Ipad Pro
Thanks !!
Wipneus is offline   Reply With Quote
Old 03-24-2016, 12:35 PM   #253
janvm
Member
janvm began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2016
Device: kobo glo hd
urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]

Hi, I'm having some trouble with the latest BOL_NL - Version 3.8.4 - march 7th, 2016 plugin.

The query seems valid and points to the information, however the plugin does not fetch the info but ends with an error

please, can you have a look at the traceback?
tia, cheers
---------------------
calibre, version 2.53.0
FOUT: Geen zoekresultaten gevonden: <p>Geen boeken gevonden voor de zoekopdracht. Probeer de zoekopdracht <b>minder specifiek</b> te maken. Gebruik bijvoorbeeld alleen de achternaam van de auteur of één enkel sleutelwoord uit de titel. Om alle meldingen te zien klikt u op ‘Details tonen’.

Running identify query with parameters:
{u'identifiers': {u'isbn': u'9022986349'}, u'authors': [u'Robert Littell'], u'title': u'De machtsfabriek', u'timeout': 30}
Using plugins: BOL_NL
The log from individual plugins is below

****************************** BOL_NL ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5')]
Found 0 results
Downloading from BOL_NL took 4.32500004768
Querying: http://www.bol.com/nl/s/boeken/zoekr...questid=136981
Plugin BOL_NL failed
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\identify. py", line 44, in run
File "calibre_plugins.BOL_NL.__init__", line 240, in identify
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 204, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 457, in http_response
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 221, in error
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 571, in http_error_302
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 204, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 457, in http_response
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 221, in error
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 571, in http_error_302
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 193, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\calibre\utils\browser.py", line 25, in https_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>

************************************************** ******************************
The identify phase took 4.42 seconds
The longest time (4.325000) was taken by: BOL_NL
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 0 merged results, merging took: 0.00 seconds
janvm is offline   Reply With Quote
Old 03-24-2016, 04:39 PM   #254
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
Quote:
Originally Posted by janvm View Post
Hi, I'm having some trouble with the latest BOL_NL - Version 3.8.4 - march 7th, 2016 plugin.

py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>

According to the log the problem is related to (missing) (root-)certificates on your computer.
I am not familiar with that kind of issues, but if you google you get a lot of hits( osX , windows and Linux, also depending on the python version that is running).
Maybe other members can help you.
Pr.BarnArt is offline   Reply With Quote
Old 03-25-2016, 04:40 PM   #255
rudrood
Junior Member
rudrood began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2016
Device: Kobo
Hi,
I'm running Calibre 2.53 with the Bol 3.8.4 plugin and get the following error:

When I paste the url in my browser it works oke.

****************************** BOL_NL ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')]
Found 0 results
Downloading from BOL_NL took 1.48399996758
Querying: http://www.bol.com/nl/s/boeken/zoekr...questid=136981
Plugin BOL_NL failed
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\identify. py", line 44, in run
File "calibre_plugins.BOL_NL.__init__", line 240, in identify
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 204, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 457, in http_response
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 221, in error
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 571, in http_error_302
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 204, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 457, in http_response
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 221, in error
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 571, in http_error_302
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_opener.py", line 193, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\calibre\utils\browser.py", line 25, in https_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError:

Any idea what's wrong?
rudrood is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Libri.hu [Deprecated] Daermond Plugins 5 10-02-2012 05:07 AM
[Metadata Source Plugin] Moly.hu [Deprecated] Daermond Plugins 7 09-23-2012 03:48 AM
Request : metadata source plugin for bol.com bolligske Plugins 8 06-17-2011 07:44 AM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 02:10 PM
metadata plugin redneck_momma Plugins 1 05-21-2010 08:41 PM


All times are GMT -4. The time now is 10:29 AM.


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