![]() |
#76 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2018
Device: Kindle for Samsung Tablets
|
Not Finding Existing Title
I've been trying to update a book titled "Relics: Two: by Nick Thayer and none of the metadata plug-ins can find it. The title is listed on FantasticFiction.com, but the match I get back is always wrong! I have calibre 3.26.1 and v1.20 of the FF plugin. Here's the log (with the google and amazon results removed):
Code:
Running identify query with parameters: {u'identifiers': {}, u'authors': [u'Nick Thacker'], u'timeout': 30, u'title': u'Relics: Two'} Using plugins: Fantastic Fiction (1, 2, 0), Google (1, 0, 0), Amazon.com (1, 2, 2) The log from individual plugins is below ****************************** Fantastic Fiction (1, 2, 0) ****************************** Found 1 results Downloading from Fantastic Fiction took 0.888000011444 --- Title : Relics: One Author(s) : Nick Thacker Series : Relics Singularity #1 Identifiers : ff:t/nick-thacker/relics-one Comments : Myers is a Relic. Cast out of society by a computer program that's far more efficient at managing and regulating human life than any human ever could be. The System is running everyone's life. It's quickly becoming smarter than humans, and it no longer has any need for leaders like Myers. There's a technological singularity coming, and only Myers knows how to stop it. The problem? He doesn't remember anything from the past 15 years. And now he's being hunted. Querying Country preference: https://clu.fantasticfiction.com/clu-js Querying: https://www.fantasticfiction.com/dbs/books?bq='FF'&q=Relics+Nick+Thacker&start=0&size=20&rank=-visits_us&return-fields=booktype,title,atitle,vtitle,year,pfn,hasimage,authorsinfo,seriesinfo,db,imageloc FantasticFiction url: u'https://www.fantasticfiction.com/t/nick-thacker/relics-one.htm' Found authors: ['Nick Thacker'] ******************************************************************************** ******************************************************************************** The identify phase took 4.42 seconds The longest time (4.263000) was taken by: Amazon.com Merging results from different sources and finding earliest publication dates from the worldcat.org service We have 3 merged results, merging took: 0.22 seconds |
![]() |
![]() |
![]() |
#77 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jan 2011
Device: Sony PRS-350
|
Metadata ID search
Is it possible when downloading metadata for bulk files to have Calibre only search the author page in fantastic fiction and then match the title from there
ie. ff:g/david-lynn-golemon/ instead of ff:g/david-lynn-golemon/event |
![]() |
![]() |
Advert | |
|
![]() |
#78 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
If what you mean is for the search to fetch the author page and only look for the title on that page, that is an interesting idea. But, it assumes that the author is correct. And it assumes something about how this plugin works. Most of the metadata source plugins fetch the search page results and parse that. But, this one uses a API. To do it the way you suggest, would mean a rewrite of the search. And I'm not sure it would be any more accurate than what is being done now. |
|
![]() |
![]() |
![]() |
#79 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Jan 2011
Device: Sony PRS-350
|
Quote:
|
|
![]() |
![]() |
![]() |
#80 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I'm not sure what the best thing to do here is. Changing the plugin to not strip the subtitle would mean that this search would work. But, it would be inconsistent with most of the other searches. Also, it isn't just the colon used as the subtitle separator, but also anything in parentheses of various types. A workaround is to remove the colon yourself before doing the search. This did find the correct book when I tested it. And removing "Relic:" also worked. I tested a couple of other books and both of these worked as well. As I said, I'm not sure what the best whether to change this. I'm tending to not doing it to be consistent. But, if there is a consensus that it is wrong, it is a simple change in the code. |
|
![]() |
![]() |
Advert | |
|
![]() |
#81 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,887
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#82 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,861
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#83 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2018
Device: Kindle for Samsung Tablets
|
![]()
Thanks for the info. Now that I am aware of the "colon issue" I will endeavour to follow your instructions for manually "tweaking" the search for the few books I have that are only unique in subtitle. The others seem to always be found OK, since the titles are unique already -- I never realized the subtitles were being ignored because they seemed to be matching fine until the most recent set with three books named in the style "One Title for All Three: Unique Subtitle For Each"
So, not broken or even having a problem. Just a matter of a little bit of info that wasn't in my knowledge bank. Thanks for helping and for a great Calibre plug in! |
![]() |
![]() |
![]() |
#84 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I'm a bit mixed in my feelings about titles like this. Mostly, I strip the series from the book title. But, there are a few, like this one, where this style feels right. In these cases, I fiddle with the title before the metadata download so it works and again afterwards so that it looks right. |
|
![]() |
![]() |
![]() |
#85 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2018
Device: android
|
I've started having some difficulty recently getting results from the plugin. I'm slowly getting my system rebuilt and took the time to look at what's goin on. I'm on Calibre 3.2.8 ans 1.2.0 of the plugin. Below is the log details from the search....
Running identify query with parameters: {u'title': u'Phantom Kiss', u'identifiers': {u'amazon': u'B01LZM8426'}, u'authors': [u'Neill, Chloe'], u'timeout': 30} Using plugins: Goodreads (1, 1, 14), Fantastic Fiction (1, 2, 0), Google (1, 0, 0), Amazon.com (1, 2, 2) The log from individual plugins is below ***************************** Fantastic Fiction (1, 2, 0) ****************************** Found 0 results Downloading from Fantastic Fiction took 0.486491918564 Querying Country preference: https://clu.fantasticfiction.com/clu-js Failed to query country: u'https://clu.fantasticfiction.com/clu-js' Traceback (most recent call last): File "calibre_plugins.fantastic_fiction.__init__", line 152, in get_country 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 500: Internal Server Error Querying: https://www.fantasticfiction.com/dbs...fo,db,imageloc Failed to make identify query Traceback (most recent call last): File "calibre_plugins.fantastic_fiction.__init__", line 274, in identify 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 500: Internal Server Error ************************************************** ****************************** Any thoughts on what's awry? |
![]() |
![]() |
![]() |
#86 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,887
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
No thoughts just verifying the same result.
Running identify query with parameters: {u'authors': [u'Chloe Neill'], u'timeout': 30, u'title': u'Phantom Kiss', u'identifiers': {}} Using plugins: Kobo Books (1, 3, 1), Fantastic Fiction (1, 2, 0), Goodreads (1, 1, 14), Barnes & Noble (1, 2, 15), Google (1, 0, 0), Amazon.com (1, 2, 2), Overdrive (1, 0, 0) The log from individual plugins is below ****************************** Fantastic Fiction (1, 2, 0) ****************************** Found 0 results Downloading from Fantastic Fiction took 7.24000000954 Querying Country preference: https://clu.fantasticfiction.com/clu-js Failed to query country: u'https://clu.fantasticfiction.com/clu-js' Traceback (most recent call last): File "calibre_plugins.fantastic_fiction.__init__", line 152, in get_country 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 500: Internal Server Error Querying: https://www.fantasticfiction.com/dbs...fo,db,imageloc Failed to make identify query Traceback (most recent call last): File "calibre_plugins.fantastic_fiction.__init__", line 274, in identify 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 500: Internal Server Error Complete log here Spoiler:
Last edited by DoctorOhh; 07-28-2018 at 07:40 PM. |
![]() |
![]() |
![]() |
#87 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Beta: Site changes
It looks like FantasticFiction has changed their API. This is the reason for the errors. Plus, there are some other changes to the pages that would have broken later parsing of the results.
The attached beta should fix these problems. Please try it and tell me how it goes. If there are problems, please post the log file from the search. I have added extra debug statements to give me an idea of what is happening. |
![]() |
![]() |
![]() |
#88 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2018
Device: android
|
That works!
log file attached |
![]() |
![]() |
![]() |
#89 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2018
Device: Kindle
|
cant get fantastic fiction metadata
****************************** Fantastic Fiction (1, 2, 1) ****************************** Found 0 results Downloading from Fantastic Fiction took 1.99500012398 Querying Country preference: https://clu.fantasticfiction.com/clu-js Failed to query country: u'https://clu.fantasticfiction.com/clu-js' Traceback (most recent call last): File "calibre_plugins.fantastic_fiction.__init__", line 152, in get_country 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 500: Internal Server Error Querying: https://www.fantasticfiction.com/dbs...Cdb%2Cimageloc JSON Result: {"status":{"rid":"rIOO/tcs/IsnCri/nA==","time-ms":35},"hits":{"found":0,"start":0,"hit":[]}} Failed to make identify query Traceback (most recent call last): File "calibre_plugins.fantastic_fiction.__init__", line 287, in identify IOError: [Errno 13] Permission denied: u'E:\\json.html' ************************************************** ****************************** |
![]() |
![]() |
![]() |
#90 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Goodreads | kiwidude | Plugins | 778 | 04-18-2025 10:38 AM |
[Metadata Source Plugin] Barnes & Noble | kiwidude | Plugins | 175 | 08-04-2024 02:25 AM |
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 |