Giter VIP home page Giter VIP logo

audiblewishlisttool's Introduction

Audible Wishlist Tool


-- Info --

I just wanted a tool that could sort through my audible wishlist, and give me info in my Audible wishlist as to which titles have the highest ratings, with the most reviews.

For some dumb reason, Audible's main website doesn't allow users to sort their wishlist by rating or anything like it, so time to make my own tool. :-)


-- Getting started --

So using the python package audible was a bit tricky to get started Basically I had to make some edits to the code because from whenever that package was written to now, Audible changed their auth process or something

Anyhoo, you may need to do these two changes after doing pip install -r requirements.txt on this repo.

Change 1: update get_next_action_from_soup() in /audible/login.py https://github.com/mkb79/Audible/pull/74/files

Change 2: update /audible/login.py to handle follow_redirects=True https://github.com/mkb79/Audible/pull/70/files

At the time of writing this file, the author of audible python package hadn't completed the merge requests linked in the two changes there, so I just changed that code to the package after downloading it with pip install audible

Hopefully it'll get updated soon and we'll just need to install the latest pip package of audible


~~ Auth ~~

Auth can be a bit of a pain in the butt, but eventually I was able to get it to work after making Change 1 and Change 2 listed above.

In this package, uncomment the auth code to get the auth object then save it to a file.

Once it's saved to a file, you can keep using that, which is found later in the code with auth = audible.Authenticator.from_file('login')

After auth is sorted out, it will give you your audible wishlist as wishlist


-- Running the tool --

To keep it simple, I really just wanted to plot it in a way where I could browse the plot for things that look interesting. As I think of more features I'll add them in, but this is enough for now to make a decision based on rating and number of people who rated it.

One thing I ran into was an issue relating to pandasgui spitting out the error"no module named win32api" If you run into this, make sure you're in the venv and do pip install pywin32 and that resolved the issue for me.

How it works ----------

Once auth is all sorted out, it will generate the wishlist and save it locally in a file called wishlist.dat, it's also encrypted because... why not.

Once wishlist.dat is created, it's used in main.py to generate the plot.

If you want to dig around in the details of your wishlist, uncomment the show(df) to give you a nifty interface to browse around the data, thanks to pandasgui

audiblewishlisttool's People

Contributors

glitchwizard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.