5

My ultimate goal is to export a list of my Kindle purchase history. It doesn't look like that is possible on Amazon's site. Amazon has an integration with Goodreads and Goodreads allows you to export your information.

http://www.goodreads.com/amazon_purchases

The problem is that you have to click on every book to add it to Goodreads. I'm pretty lazy. Is there a faster way through maybe a script to do this?

5

I found the button class for the 'Want to Read' button and looped through and clicked them all by running this Javascript in the console.

var buttonArray = document.getElementsByClassName('w-button-common w-button-unfollow'); for(var a=0;a<buttonArray.length;a++){ buttonArray[a].click(); }
| improve this answer | |
0

I tried the JavaScript you included but got an error. However I was able to leverage your approach using:

var buttonArray = document.getElementsByClassName('wtrToRead'); 
for (var a = 0; a < buttonArray.length; a++) {
  buttonArray[a].click();
}

Looks like the button names may have changed.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.