05-25-2024, 02:47 AM | #91 |
Book Enjoyer
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
|
I started getting this issue too - it looks like Kobo recently enabled some kind of Cloudflare bot protection. It might not be possible to get past it but I'll take a look
|
05-25-2024, 02:52 AM | #92 |
Custom User Title
Posts: 9,521
Karma: 64500175
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
There's been similar CloudFlare issues with FanFicFare in the past few years, so it might be worth asking JimmXinu.
|
Advert | |
|
05-27-2024, 09:59 AM | #93 |
Resident Curmudgeon
Posts: 76,344
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I am not getting any covers from Kobo Metadata.
|
05-27-2024, 03:36 PM | #94 |
Bibliophagist
Posts: 40,431
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If you try a download cover for a ebook and then check the log file, you are likely to find 403 error.
Code:
Traceback (most recent call last): File "calibre_plugins.kobobooks.__init__", line 222, in identify File "mechanize\_mechanize.py", line 241, in open_novisit File "mechanize\_mechanize.py", line 313, in _mech_open mechanize._response.get_seek_wrapper_class..httperror_seek_wrapper: HTTP Error 403: Forbidden No cover found |
05-29-2024, 06:22 AM | #95 | |
Resident Curmudgeon
Posts: 76,344
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 05-29-2024 at 06:30 AM. |
|
Advert | |
|
05-29-2024, 06:34 AM | #96 |
Book Enjoyer
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
|
From what I can tell the best way around this is to use something like Flaresolverr, which tbh seems quite involved in setting up
|
05-29-2024, 06:47 AM | #97 | |
Resident Curmudgeon
Posts: 76,344
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-29-2024, 07:10 AM | #98 | ||||
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Quote:
https://docs.docker.com/desktop/inst...ndows-install/ So actually it's not simpler to run on Linux than Windows. I don't use Docker for anything. EDIT Also on Flaresolverr git page, further down: Quote:
Edit 2 This might be a bad idea anyway for metadata downloads Quote:
Last edited by Quoth; 05-29-2024 at 07:21 AM. |
||||
05-29-2024, 07:33 AM | #99 |
Book Enjoyer
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
|
Yeah tbh I'm not a huge fan of this solution but I'm not sure there's much else that can a be done about it
|
05-29-2024, 11:02 AM | #100 | |
Resident Curmudgeon
Posts: 76,344
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://pypi.org/project/cloudscraper |
|
05-29-2024, 11:04 AM | #101 |
Book Enjoyer
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
|
I tried it already and no luck
|
05-29-2024, 11:21 AM | #102 |
Resident Curmudgeon
Posts: 76,344
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
05-30-2024, 09:26 AM | #103 |
Book Enjoyer
Posts: 58
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
|
I've played around with the api that the Kobo devices use to access the store and I think its a possibility. From what I can tell, it makes some kind of request to get a bearer token, and then that token can be used to start querying without cloudflare stopping us. Problem is that it requires a Kobo device (a unique device id is needed) and some user data to be dumped first from the .sqlite tables.
I'm not a massive fan of doing it this way either tbh. What do you mean by that? |
06-04-2024, 05:54 PM | #104 | ||
Resident Curmudgeon
Posts: 76,344
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
Last edited by JSWolf; 06-04-2024 at 05:56 PM. |
||
06-04-2024, 07:24 PM | #105 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2016
Device: Kindle Paperwhite
|
Weird. I'm getting 403's and actual results. For example, I can't find anything via kobo plugin for Werewolf Skin but I find something for Caves of Steel
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Kobo Books | davidfor | Plugins | 201 | 10-17-2023 12:19 PM |
[Metadata Source Plugin] BOL.com (DE) | Pr.BarnArt | Plugins | 52 | 06-01-2023 05:50 PM |
How do I know which Metadata Source Plugin was called from fetch-ebook-metadata? | eryMpexI | Library Management | 6 | 04-22-2023 09:58 AM |
Read a book's metadata in a Metadata source plugin? | J-H | Development | 2 | 03-30-2021 10:08 AM |
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) | mneimeyer | Plugins | 3 | 11-11-2019 09:07 PM |