Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-16-2023, 08:22 AM   #1
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,987
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Kobo Website Wish List

Is it only in order of books added?

I can't see how to sort by author or price. Maybe it's obvious and I'm just being stupid.
Quoth is offline   Reply With Quote
Old 02-16-2023, 11:14 AM   #2
John Hopper
Addict
John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.John Hopper ought to be getting tired of karma fortunes by now.
 
Posts: 361
Karma: 1179724
Join Date: Nov 2015
Device: Kindle Voyage
Pretty sure it can't be sorted any way. I wish it wasn't so big either .

Sent from my SM-F721B using Tapatalk
John Hopper is offline   Reply With Quote
Advert
Old 02-16-2023, 12:05 PM   #3
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
I have felt similarly stupid for the same failure to find any convenience methods for it, so this comment is a brazen stealth tag to see if anybody else has any clever ideas. I'm about ready to resort to writing a scraper for it that reuses my login cookies from my web browser.
isarl is offline   Reply With Quote
Old 02-16-2023, 12:25 PM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,987
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Export as csv file (with links), images not needed, title, author, price, blurb, URL of Kobo page, maybe URL of image?. Then any spreadsheet can sort, and you click on link of book to have it on Kobo web page
Quoth is offline   Reply With Quote
Old 02-16-2023, 12:26 PM   #5
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,987
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by John Hopper View Post
Pretty sure it can't be sorted any way. I wish it wasn't so big either.
No matter how many books I buy, the wish list at each site gets bigger
Quoth is offline   Reply With Quote
Advert
Old 02-16-2023, 12:54 PM   #6
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
Quote:
Originally Posted by Quoth View Post
Export as csv file (with links), images not needed, title, author, price, blurb, URL of Kobo page, maybe URL of image?. Then any spreadsheet can sort, and you click on link of book to have it on Kobo web page
Pretty much exactly what I was thinking! Though I would amend “price” to “usual price” and “current price” to help highlight which items are currently on sale. The scraping library I use (ScraPy) also makes it super convenient to output in other formats too, e.g. JSON, but CSV as you say is probably more suited to spreadsheet software.

Oh dear. Today I found an item on my wishlist is simply no longer available at all – it's now only available as an audiobook? How unfortunate. But I suppose fortunate from the perspective of encountering that edge case before writing any wishlist scrapers, if I wind up doing that…
isarl is offline   Reply With Quote
Old 02-16-2023, 01:53 PM   #7
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,987
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Yes, that would be useful to know (item gone. Happens often on Amazon). I know what a cookie is, and there may be more than one; I didn't check, but I've only ever blocked them or deleted them. All 3rd party always blocked. So I've no idea how to use on in say wget (which can use them). I've used wget plenty.
Quoth is offline   Reply With Quote
Old 02-16-2023, 03:53 PM   #8
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,947
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by isarl View Post
Oh dear. Today I found an item on my wishlist is simply no longer available at all – it's now only available as an audiobook? How unfortunate. But I suppose fortunate from the perspective of encountering that edge case before writing any wishlist scrapers, if I wind up doing that…
Check whether it's now available on Kindle Unlimited. 90% of the time this has happened to books on my wishlist, it's from this.
ownedbycats is online now   Reply With Quote
Old 02-16-2023, 05:14 PM   #9
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,987
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by ownedbycats View Post
Check whether it's now available on Kindle Unlimited. 90% of the time this has happened to books on my wishlist, it's from this.
And you can buy stuff that's on KU, without having a subscription, then Download for USB transfer works.
But I've had plenty of ebooks, paper books and other stuff on my three wish lists on Amazon become unavailable too.
Quoth is offline   Reply With Quote
Old 02-16-2023, 05:36 PM   #10
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,947
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Quoth View Post
And you can buy stuff that's on KU, without having a subscription, then Download for USB transfer works.
Only if you have a Kindle device.
ownedbycats is online now   Reply With Quote
Old 02-16-2023, 10:29 PM   #11
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,987
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by ownedbycats View Post
Only if you have a Kindle device.
A real eink one, and it needs to have Publisher option in Aa or Themes as this shows it can do azw3, not primitive old mobi.
Quoth is offline   Reply With Quote
Old 02-17-2023, 04:56 AM   #12
Cootey
Absentminded Reader
Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.
 
Cootey's Avatar
 
Posts: 1,319
Karma: 7387565
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
Quote:
Originally Posted by Quoth View Post
Is it only in order of books added?

I can't see how to sort by author or price. Maybe it's obvious and I'm just being stupid.

Isn’t it frustrating? I’d love to be able to sort by books on sale or by series. Even reverse sort of by order added would be helpful. No such luck.
Cootey is offline   Reply With Quote
Old 02-22-2023, 12:47 AM   #13
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
I spent some time working out how to scrape my Kobo wishlist this evening. It's a bit fragile (I wasn't able to find a reliable and portable way to easily grab browser cookies, but did find a way that works for my setup) but I was able to figure out specifically which URL to query and how to parse the responses.

I will be curious to see in the coming days whether the cookies I currently have hard-baked into my script will expire and need updating. But in the meanwhile Scrapy is allowing me to generate a CSV with all the items on my wishlist.

This is not really in a shareable state yet. However, if you are reasonably comfortable with your browser's dev tools, and with tweaking code, then here's some ground I've already covered to help you replicate my results for your own wishlist. Depends on Scrapy.

Code:
#!/usr/bin/env python
import json
import scrapy

class KoboWishlistSpider(scrapy.Spider):
    name = 'kobowishlist'
    allowed_domains = ['kobo.com']
    magic_request_string = """replace the contents of this triple-quoted string as described below"""

    def parse(self, response):
        data = json.loads(response.body.decode())
        for item in data['Items']:
            yield {'authors': [a['Name'] for a in item['Authors']], 'title': item['Title'], 'price': item['Price'], 'page': data['PageIndex']}
        if data['PageIndex'] < data['TotalNumPages']:
            yield response.request.replace(body='{"pageIndex": ' + f"{data['PageIndex']+1}" + '}')

    def start_requests(self):
        yield scrapy.Request.from_curl(self.magic_request_string).replace(body='{"pageIndex": 1}')
Save this into a file like kobospider.py. In a browser logged into your Kobo account, visit your wishlist and open the developer tools. Click on the Network tab, start recording, and then click one of the buttons at the bottom of your wishlist to change pages. In the list of requests that get recorded in the Network page of the developer tools, look for the request to “fetch”. Right-click > Copy > Copy as cURL. (I believe this works in at least Chrome, Chromium, and Firefox.) Paste this value into the triple quotes for magic_request_string, replacing the placeholder value. You should now be able to run your spider from the commandline like:

Code:
scrapy runspider kobospider.py -O items.csv
I would be much happier if this were able to get your login cookies in a much more automatic way. StackOverflow suggested a Python library called browser-cookie3 which aims to do what I need, but when I tried it out in practice, it encountered issues with dbus.

Last edited by isarl; 02-22-2023 at 12:58 AM. Reason: force script to start on first page of wishlist, regardless of which page is loaded by the copied request cURL string
isarl is offline   Reply With Quote
Old 02-22-2023, 07:19 AM   #14
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
Glad to receive a little positive feedback on this (outside this thread). Unfortunately (but not very surprisingly) after sleeping on it, the request parameters I had copied out of my browser yesterday evening have expired. Replacing with a fresh copy works, but this indicates that my session management could be greatly improved. Still easier than clicking through all the wishlist pages manually, but not as automatic as you'd really want. I'll have to spend some more time on this later. If anybody is a wizard with HTTP headers, sessions, requests, and so on, I would welcome any insight you can share.

Edit: worked on this some more today, but negative results only; haven't cracked it yet.

Last edited by isarl; 02-22-2023 at 09:30 PM. Reason: Not making three posts in a row without actual news :P
isarl is offline   Reply With Quote
Old 02-23-2023, 08:20 AM   #15
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,987
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Of course you can view your Kobo web site wish list on an Kobo ereader using the same log on, but you can't sort that either, unless it's cached somewhere on the device? Under Discover Tab on main GUI
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there an app/website that can sync my Calibre library's list of titles & authors? droopy Calibre 15 03-04-2020 06:50 PM
How many book details should one list on their website? Steven Lake Writers' Corner 13 12-05-2012 06:24 AM
Website to track your library, read list, bookmarks [works on mobile phones] nachtxeule General Discussions 12 08-21-2010 05:37 AM
List of existing author website with freebies ? smurphy Lounge 1 03-23-2009 12:31 PM


All times are GMT -4. The time now is 07:27 PM.


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