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 02-05-2015, 05:43 AM   #61
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
Trixter: I had a quick look at the files and I can see how it would be done. But, it just isn't something I'm interested in doing.
davidfor is offline   Reply With Quote
Old 03-27-2015, 02:14 AM   #62
Sidetrack
Enthusiast
Sidetrack began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Jan 2009
Location: South Pacific
Device: Kindle DX
I've been going through some of my books looking for bad metadata links from Fantastic Fiction and I'm seeing the weaknesses of their search.

Turns out though that they are fairly consistent in their naming, not perfectly consistent, but you can build a link with a calibre template that works a good percentage of the time and is a lot less prone to bad matches. From what I know of their search interface checking it first would probably reduce the number of times caliber has to hit the website.

Any chance of having an option in the Metadata downloader to try a "built" identifier link before using the FF search interface?

Here's my rough build of the template:
Code:
ff= transliterate(
   lowercase(
    re(
     strcat(
     shorten(field('author_sort'),1,'',0), '/', 
     re(sublist(field('authors'),0,1,'&'),'\.',' '), '/', 
     re(re(field('title'),'&','and'),'(\ba ?\b|\ban ?\b|\bthe ?\b|\.(?= )|\,|’|!|\?|:(?= )|‒|-|…)','')
     ),'[: \.|\']+','-') 
   )
  );
Sidetrack is offline   Reply With Quote
Advert
Old 01-10-2017, 05:27 AM   #63
AnselmD
Zealot
AnselmD began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
Is this plugin still supported?
I tried this plugin the first time I am using the 1.1.6 and i get the following error:

calibre, version 2.76.0
FEHLER: Keine Übereinstimmungen gefunden: <p>Es wurden keine Bücher für die aktuelle Suche gefunden. Versuchen Sie, die Suche <b>weniger spezifisch</b> zu formulieren. Verwenden Sie beispielsweise nur den Nachnamen des Autors und ein einzelnes, prägnantes Wort aus dem Titel.<p>Um den gesamten Protokoll zu lesen, klicken Sie auf "Details anzeigen".

Running identify query with parameters:
{u'title': u'The Little Grey Men', u'timeout': 30, u'authors': [u'Denys Watkins-Pitchford'], u'identifiers': {}}
Using plugins: Fantastic Fiction
The log from individual plugins is below

****************************** Fantastic Fiction ******************************
Request extra headers: [('User-agent', u'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36')]
Found 0 results
Downloading from Fantastic Fiction took 1.72199988365
Querying ISBN: http://script.fantasticfiction.co.uk/ff-v3.php
Failed to query country: u'http://script.fantasticfiction.co.uk/ff-v3.php'
Traceback (most recent call last):
File "calibre_plugins.fantastic_fiction.__init__", line 152, in get_country
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 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\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error [Errno 11004] getaddrinfo failed>

Querying: http://www.fantasticfiction.co.uk/db...fo,db,imageloc
Failed to make identify query
Traceback (most recent call last):
File "calibre_plugins.fantastic_fiction.__init__", line 275, 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 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 27, 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 1.86 seconds
The longest time (1.722000) was taken by: Fantastic Fiction
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
AnselmD is offline   Reply With Quote
Old 01-10-2017, 06:27 AM   #64
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
@AnselmD: The plugin is working here. The last error is the problem for you. There was a report last week of a similar problem with Fantastic Fiction using the Import List plugin. The fix was to open the site in either IE or Edge and let the browser download and install the certificate.

The is an earlier error which is a change on the site. But, this isn't stopping the function of the plugin. I'll have a look at this when I have a chance.
davidfor is offline   Reply With Quote
Old 01-10-2017, 03:31 PM   #65
AnselmD
Zealot
AnselmD began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Oct 2013
Device: none
Quote:
Originally Posted by davidfor View Post
@AnselmD: The plugin is working here. The last error is the problem for you. There was a report last week of a similar problem with Fantastic Fiction using the Import List plugin. The fix was to open the site in either IE or Edge and let the browser download and install the certificate.
Hi davidfor, i open the site in IE and the [SSL: CERTIFICATE_VERIFY_FAILED] error is gone now.


Quote:
Originally Posted by davidfor View Post
The is an earlier error which is a change on the site. But, this isn't stopping the function of the plugin. I'll have a look at this when I have a chance.
I get a useful result.
Thank you very much.

Last edited by AnselmD; 01-10-2017 at 03:45 PM.
AnselmD is offline   Reply With Quote
Advert
Old 04-30-2017, 08:51 PM   #66
Ginnia
Connoisseur
Ginnia began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jan 2010
Device: Kindle
Fantastic Fiction PlugIn

Is anyone else having problems with this plugin? Don't know if it matters, but the web address has changed and the plugin references the old address. Including the error msg I'm getting.


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

****************************** Fantastic Fiction ******************************
Request extra headers: [('User-agent', u'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0')]
Found 0 results
Downloading from Fantastic Fiction took 5.71499991417
Querying ISBN: http://www.fantasticfiction.co.uk/ed...=9780778319511
Failed to make ISBN query: u'http://www.fantasticfiction.co.uk/edition/?isbn=9780778319511'
Traceback (most recent call last):
File "calibre_plugins.fantastic_fiction.__init__", line 212, in query_via_isbn_for_title_author
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 255, in _mech_open
httperror_seek_wrapper: HTTP Error 404: Not Found

Querying ISBN: http://script.fantasticfiction.co.uk/ff-v3.php
Querying: http://www.fantasticfiction.co.uk/db...fo,db,imageloc
No matches found
Ginnia is offline   Reply With Quote
Old 05-01-2017, 04:56 AM   #67
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
It's not just the domain name changed, but some other things about the site have changed. I've been looking at it and will post an update when it's ready.

Also, there are threads dedicated to each plugin. Posting in the plugins thread keeps everything together.
davidfor is offline   Reply With Quote
Old 05-01-2017, 06:45 AM   #68
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
Beta - new domain and other changes

There is an earlier report that this plugin isn't working. This is due to a change in the domain and the search API. Plus some small changes on the details page.

I haven't done a lot of testing, but it is working for the books I have tried. If you see any problems, please report them here.

Last edited by davidfor; 01-21-2018 at 08:09 AM. Reason: Removed beta as it has been released.
davidfor is offline   Reply With Quote
Old 05-02-2017, 03:29 PM   #69
Ginnia
Connoisseur
Ginnia began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jan 2010
Device: Kindle
That did the trick -- thank you very much.

In the future, I'll try to post in the appropriate thread.

Gin
Ginnia is offline   Reply With Quote
Old 06-12-2017, 12:57 AM   #70
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
Update to version 1.2.0

The update to version 1.2.0 of the plugin has just been released. The changes in the update are:Calibre will present the update sometime in the next hour or so for downloading, or you can manually download it from the first post.

If there are any problems with the update, please report them here and I will look into them.
davidfor is offline   Reply With Quote
Old 01-20-2018, 07:24 PM   #71
Bryteyes
Junior Member
Bryteyes began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2018
Device: Kindle
I can never pull up ff for metadata. Is there a new version of this plugin out or coming out soon
Bryteyes is offline   Reply With Quote
Old 01-20-2018, 09:39 PM   #72
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
Quote:
Originally Posted by Bryteyes View Post
I can never pull up ff for metadata. Is there a new version of this plugin out or coming out soon
Sorry, but this is the first I had heard there was a problem with the plugin. I've done a quick check, and it is working here. Can you give me some examples that are not working for you, and post the log from the metadata download for me to look at.
davidfor is offline   Reply With Quote
Old 01-20-2018, 10:04 PM   #73
Bryteyes
Junior Member
Bryteyes began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2018
Device: Kindle
Quote:
Originally Posted by davidfor View Post
Sorry, but this is the first I had heard there was a problem with the plugin. I've done a quick check, and it is working here. Can you give me some examples that are not working for you, and post the log from the metadata download for me to look at.
Its not giving me an error it just pulls up nothing from ff


Running identify query with parameters:
{u'title': u'Corporate Seduction', u'timeout': 30, u'identifiers': {}, u'authors': [u'A. C. Arthur']}
Using plugins: Fantastic Fiction (1, 1, 7), Fantastic Fiction Adults (1, 0, 5), Goodreads (1, 1, 13), ISBNDB (1, 0, 0)
The log from individual plugins is below

****************************** Fantastic Fiction Adults (1, 0, 5) ******************************
Found 0 results
Downloading from Fantastic Fiction Adults took 2.66299986839
Querying Country preference: https://clu.ffadultsonly.com/clu-js
Querying: https://www.ffadultsonly.com/dbs/boo...fo,db,imageloc
have hits
have matches
FFAdultsOnly url: u'https://www.ffadultsonly.com/a/a-c-arthur/corporate-seduction.htm'
URL malformed: u'https://www.ffadultsonly.com/a/a-c-arthur/corporate-seduction.htm'

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

****************************** Fantastic Fiction (1, 1, 7) ******************************
Found 0 results
Downloading from Fantastic Fiction took 2.0720000267
Querying Country preference: https://clu.fantasticfiction.com/clu-js
Querying: https://www.fantasticfiction.com/dbs...fo,db,imageloc
No matches found

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

****************************** ISBNDB (1, 0, 0) ******************************
Found 0 results
Downloading from ISBNDB took 1.92000007629
Failed to make query to ISBNDb, aborting.
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\isbndb.py ", line 107, in identify
File "site-packages\calibre\ebooks\metadata\sources\isbndb.py ", line 214, in make_query
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 310, in _mech_open
httperror_seek_wrapper: HTTP Error 404: Not Found

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

****************************** Goodreads (1, 1, 13) ******************************
Found 1 results
Downloading from Goodreads took 4.47899985313


---
Title : Corporate Seduction
Author(s) : A. C. Arthur
Publisher : Genesis Press
Languages : eng
Rating : 2.2
Published : 2007-01-01T00:00:00+00:00
Identifiers : isbn:9781585712380, goodreads:1230468
Comments :
Erotic email messages are finding their way into the inboxes of Page & Associates' employees, keeping everybody in a perpetual state of arousal. Khalil Franklin is hired to put a stop to it, but instead paralegal Reka stops him dead in his tracks. She's not what Khalil's used to, but that doesn't stop him from wanting her, needing her.

Querying: http://www.goodreads.com/search?sear...e=books&search[query]=Corporate+Seduction+Arthur
no isbn
response:
Goodreads book url: u'http://www.goodreads.com/book/show/1230468.Corporate_Seduction?from_search=true'
parse_authors - author: A.C. Arthur (Goodreads Author)
parse_authors - author: A.C. Arthur
parse_details - mi: Title : Corporate Seduction
Author(s) : A.C. Arthur

************************************************** ******************************
The identify phase took 4.65 seconds
The longest time (4.479000) was taken by: Goodreads
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 1 merged results, merging took: 0.14 seconds
Bryteyes is offline   Reply With Quote
Old 01-21-2018, 08:09 AM   #74
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
Quote:
Originally Posted by Bryteyes View Post
Running identify query with parameters:
{u'title': u'Corporate Seduction', u'timeout': 30, u'identifiers': {}, u'authors': [u'A. C. Arthur']}
Using plugins: Fantastic Fiction (1, 1, 7), Fantastic Fiction Adults (1, 0, 5), Goodreads (1, 1, 13), ISBNDB (1, 0, 0)
The log from individual plugins is below
Can you install the latest version of the plugin and try again? The current release is 1.2.0.
davidfor is offline   Reply With Quote
Old 01-21-2018, 05:22 PM   #75
Bryteyes
Junior Member
Bryteyes began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2018
Device: Kindle
Quote:
Originally Posted by davidfor View Post
Can you install the latest version of the plugin and try again? The current release is 1.2.0.
****************************** Fantastic Fiction Adults (1, 0, 5) ******************************
Found 0 results
Downloading from Fantastic Fiction Adults took 2.95500016212
Querying Country preference: https://clu.ffadultsonly.com/clu-js
Querying: https://www.ffadultsonly.com/dbs/boo...fo,db,imageloc
have hits
have matches
FFAdultsOnly url: u'https://www.ffadultsonly.com/i/alexandra-ivy/bound-by-darkness.htm'
URL malformed: u'https://www.ffadultsonly.com/i/alexandra-ivy/bound-by-darkness.htm'

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

****************************** Fantastic Fiction (1, 2, 0) ******************************
Found 0 results
Downloading from Fantastic Fiction took 2.24499988556
Querying Country preference: https://clu.fantasticfiction.com/clu-js
Querying: https://www.fantasticfiction.com/dbs...fo,db,imageloc
No matches found

************************************************** ******************************
The identify phase took 3.46 seconds
The longest time (3.330000) was taken by: Goodreads
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 1 merged results, merging took: 0.13 seconds
Bryteyes is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Barnes & Noble kiwidude Plugins 168 04-01-2024 07:34 PM
[Metadata Source Plugin] Goodreads kiwidude Plugins 730 03-23-2024 10:24 PM
Small Change to Metadata Source plugin API kovidgoyal Development 2 04-25-2011 02:55 PM
Where is Fantastic Fiction? GA Russell General Discussions 6 04-24-2011 06:57 PM
Fantastic Fiction website Leep General Discussions 23 03-09-2011 06:08 AM


All times are GMT -4. The time now is 05:16 AM.


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