joonaspaakko / audible-library-extractor

Browser extension that extracts your Audible library as a locally viewable web gallery.
73 stars 8 forks source link

Only extracting 20 titles. #148

Open redknob opened 1 month ago

redknob commented 1 month ago

It won't extract more than 20 titles from my library, which is also the default list length of the library page. I don't have any podcasts. I have 29 titles in my library but no matter what I do, clearing/start again/retry it only ever extracts the first 20. Changing library view to show 30 titles per page makes no difference.

Tried on Win11 and MacOS with Vivaldi browser using Chrome plugin.

joonaspaakko commented 1 month ago

Could you try the dev release and see if that works? I have a feeling it won't, but worth a try.

  1. Download the 0.2.11 draft (This file sits in the repository root)
  2. Go to the address: chrome:extensions (or: Window > Extensions)
  3. Turn on the developer mode from the top right
  4. Drag the downloaded .zip file in the browser window to install

Also, just to be sure, could you confirm that you're not getting this issue #110.


To find out more info open Chrome console, run the extraction, and take a screenshot of any errors there.

redknob commented 1 month ago

Hi! I can confirm that I am not experiencing what is described in issue #110 .

I have the same issue when using 0.2.11 extension. I managed to install it successfully and disabled the 0.2.10 version first. Only the first 20 titles are extracted (I have 30 now).

No errors appear during the process. Re-running the extraction doesn't help either, it still only looks for the first 20.

image

image

joonaspaakko commented 1 month ago

I can't reproduce the issue (in Vivaldi or Chrome). I'll try to do some more testing. I wonder if other extensions could be conflicting with it...?

Maybe I can make a build for you that logs certain key points, and that might tell us why it's happening on your end.

Note to self: this code checks how many pages it has to go through. It's possible that doesn't work in your situation or maybe it never gets this far and thinks there's only one library page.

redknob commented 1 month ago

Hey, I tried it in clean version of Edge as well, same result. I also tried it in Vivaldi with all other extensions and built-in ad block disabled, same result.

Very strange.

joonaspaakko commented 1 month ago

Yea. It's not the first time this happened, but I think that time it happened because Audible changed the layout and it affected everyone, and that's what I expected this time too... I'll try to get you a debug build ASAP (ish). If I don't have time during the week, I'll set Saturday as a hard deadline.

joonaspaakko commented 1 month ago

@redknob, I had some trouble with compiling the extension, but I got you the debug build Audible Library Extrator 0.2.11.zip (Couple hours late of the deadline I set for myself. It's 2 am on a sunday...).

Just to make it clear what to do and what to look out for, here's a short video (no audio). So open browser console, start extraction, wait for the alert, and If you can save the console log or take a screenshot of it or something, that'd be great. I'm not too sure if it'll tell me everything I need to know, I had hard time deciding what to log.

redknob commented 1 day ago

Hey thanks for that. Sorry I didn't reply earlier, but I tried it out now. My result was a bit different to yours. I had adblocking disabled, fwiw. 2024-09-05_15-06

www.audible.com-1725538137907.log

redknob commented 1 day ago

Post above is in Vivaldi on MacOS. Tried again in Chrome also on MacOS and only got this far:

2024-09-05_15-16

joonaspaakko commented 1 day ago

Interesting how it seems to skip the part that checks how many pages your library has. I suspected that, but I still don't understand why it would. I'll try to take a better look over the weekend.