View Single Post
Old 12-02-2023, 05:06 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,036
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by chrisridd View Post
I wrote a little perl script to help me find which Kobo "country" store gives the cheapest prices for a book. It might be helpful to others.

GitHub gist

To use it, find the book you're interested in on the store, and pass the entire URL to the script. e.g.

Code:
kobocompare https://www.kobo.com/us/en/ebook/alliance-rising-1
and wait a little bit.

I've hardcoded a set of currency conversions to GBP, which obviously could be improved by someone. Equally obviously it could check each store in parallel instead of one at a time. Patches welcome, as they say.
Could you please convert this to Python to run in calibre?
JSWolf is offline   Reply With Quote