03-20-2021, 01:45 PM | #91 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2021
Device: Kobo Touch
|
Yup, up and running again. Thanks for the quick respons
|
10-10-2021, 02:41 PM | #92 |
Connoisseur
Posts: 60
Karma: 1852838
Join Date: Jul 2007
Location: Russia
Device: Kobo Aura H₂O & iPad Pro 2020 12.9"
|
So the plugin stopped working some weeks ago (at least on Windows). Running tests shows problem with urllib failing to make the connection
Code:
Failed to make identify query: 'https://www.kobo.com/search?Query=Turn+Coat+Jim+Butcher&fcmedia=Book&fclanguages=all' Traceback (most recent call last): File "mechanize\_urllib2_fork.py", line 1238, in do_open File "http\client.py", line 1347, in getresponse File "http\client.py", line 307, in begin File "http\client.py", line 268, in _read_status File "socket.py", line 669, in readinto File "ssl.py", line 1241, in recv_into File "ssl.py", line 1099, in read socket.timeout: The read operation timed out Adding this in __init__.py in identify() and download_cover() seems to fix some tests (some times (?); tbh this smells like cloudflare anti-bot protection or something) Code:
br.set_current_header('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8') br.set_current_header('Accept-Language', 'en-US,en-UK,en') br.set_current_header('Accept-Encoding', 'gzip') further testing shows that if you bump timeout to 60, it improves the rate of successfull responses dramatically (even though it never waits for 60 or even 30 seconds; it's a mystery) and with that I made it work in UI as well Last edited by 13xforever; 10-10-2021 at 04:35 PM. |
Advert | |
|
10-10-2021, 10:40 PM | #93 |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I'll have a look, but it might be a few days. It appears that it has stopped working since the last time I added a book from Kobo. And it is only partly failing. The search seems to be what is failing the most. Updating a book if you have the id is still working.
|
10-11-2021, 05:46 AM | #94 |
Connoisseur
Posts: 60
Karma: 1852838
Join Date: Jul 2007
Location: Russia
Device: Kobo Aura H₂O & iPad Pro 2020 12.9"
|
It didn't work for me at all (searching metadata by isbn, or kobo id, nor covers). But because it's some heuristics on cloudflare (?) side, it can work differently depending on geographical location or something
|
10-16-2021, 06:04 PM | #95 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2021
Device: Kobo Libra H2O
|
Good evening! Thanks for your continued efforts in developing this plugin. While it's being updated, I was just curious how we search by Kobo ID. Is it as simple as saving an ID like
Code:
kobo:beautiful-world-where-are-you-1 |
Advert | |
|
10-16-2021, 10:23 PM | #96 | |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
10-17-2021, 11:49 AM | #97 | |
Connoisseur
Posts: 60
Karma: 1852838
Join Date: Jul 2007
Location: Russia
Device: Kobo Aura H₂O & iPad Pro 2020 12.9"
|
Quote:
you can also add prefix in the settings, so it's easier to fill in manually with righ-click on the paste menu button |
|
10-17-2021, 09:44 PM | #98 |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Much simpler is to copy the URL to the clipboard and simply click that button. That will create the identifier from the URL for many metadata sources and any identifiers you have defined a rule for. Not all the metadata source plugins support this, but, all the ones that I maintain should.
|
10-26-2021, 02:36 PM | #99 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Oct 2021
Device: Kobo Libra 2
|
Quote:
|
|
10-26-2021, 07:55 PM | #100 |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
What doesn't work? Using the button to create the Kobo identifier from the clipboard? If so, can you give me some examples of URLs that didn't work.
If you meant the Kobo metadata source plugin still doesn't download the metadata once you have the identifier, that seems to have changed since the original reports. This stopped working a few days after the initial problem was reported. I think Kobo was in the midst of moving things to Akamai, and there were a few days were both were working. I have had a brief look at this, but, haven't been able to spend enough time to see how to fix it. |
10-27-2021, 04:11 AM | #101 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Oct 2021
Device: Kobo Libra 2
|
Quote:
|
|
10-27-2021, 06:29 AM | #102 | |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
https://www.kobo.com/es/es/ebook/the-complete-witcher-novels Code:
https://www.kobo.com/au/en/ebook/the-complete-witcher-novels Code:
https://www.kobo.com/ebook/the-complete-witcher-novels What version of calibre and the plugin are you using? |
|
10-27-2021, 07:13 AM | #103 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Oct 2021
Device: Kobo Libra 2
|
Quote:
Plug-in version 1.8.2 I put the url and no results found from kobo, everything comes from Amazon |
|
10-27-2021, 07:24 AM | #104 |
Junior Member
Posts: 6
Karma: 10
Join Date: Oct 2021
Device: Kobo Libra 2
|
am I doing something wrong? First two options are from amazon and the third from Google
|
10-27-2021, 09:57 AM | #105 | ||
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Putting it simply, the Kobo Books Metadata source plugin does not work. Something has changed in the way that the Kobo store is hosted that is blocking the download of pages from them. At this point I have no real idea what it is or how to fix it. I think it will be related to using Akamai for hosting or caching, but, have not had a real chance to look at it. In my last post, I am only commenting on how to create the Kobo identifier. If you have the Kobo Books Metadata source plugin installed, if you have a URL for a book from the Kobo store, when you click the paste button it should add the Kobo books identifier. That does not appear to be happening for you. The only thing I can think of is that you are clicking in a way that presents the menu, and have a "URL" option that you are choosing. But, even if you have the identifier, you will not be able to get the metadata from Kobo. Right now, it is only useful to let you click in the details pane and go to the page. Hopefully I will be able to fix the metadata source plugin so the metadata can be retrieved. |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Goodreads | kiwidude | Plugins | 725 | Today 05:43 PM |
[Metadata Source Plugin] BOL.com (DE) | Pr.BarnArt | Plugins | 52 | 06-01-2023 04:50 PM |
[Metadata Source Plugin] Comicvine | chewt0y | Plugins | 88 | 07-11-2022 12:00 PM |
[Metadata Source Plugin] INMONDADORI | Pr.BarnArt | Plugins | 7 | 12-03-2021 12:56 PM |