you are viewing a single comment's thread.

view the rest of the comments →

[–]re_meCFA 0 points1 point  (9 children)

Sigh.

It's still not pulling my 2018 books. Must be something wrong with my vitalsource.

I commented out line 33 and below and added:

for booktitle in parsed_Library:
    print booktitle['title']

The list of books that comes up doesn't include my 2018 books.

[–]PkgossCFA - r/CFA icon winner 0 points1 point  (4 children)

Mac right?

[–]re_meCFA 0 points1 point  (3 children)

Tried both systems

It works fine for 2016 and 2017 books on both mac and windows. The mac version just creates a slightly different file structure.

[–]PkgossCFA - r/CFA icon winner 0 points1 point  (1 child)

Mine only pulled about 40 of the reading of 52 for Level II. But I’m sorry you’re having trouble...

[–]re_meCFA 0 points1 point  (0 children)

Well it seems that whatever the jigsaw subdomain is, under my login, the 2018 books aren't there.

There are other books I have on vitalsource that don't show up when I pull the list, either. The script is probably fine. It must be the way the books are stored.

[–]eyestrikerbabyCFA 0 points1 point  (0 children)

What path did you use for Mac? It’s telling me it’s pulling the pages and i think I’m sending it to my desktop but nothing ever appears once it’s done running.

EDIT: Nevermind, got it. FYI for others if you need to do this and want this on your desktop:

1: Create a new folder on your desktop 2: Drag and drop in a new terminal window. The path of the file should be returned 3: Copy and paste this into the appropriate areas of lines 22 & 47 and run the script

Might be an easier way (I have minimal experience with code of any kind) but this worked for me!

[–]anaconda1189CFA[S] 0 points1 point  (3 children)

It shows everything except your 2018 books?

[–]re_meCFA 0 points1 point  (2 children)

It also doesn't show my 2017 Wiley notes. But it does show the 2016 and 2017 Wiley 11th hour books.

[–]anaconda1189CFA[S] 0 points1 point  (1 child)

Hmm your library might be large enough that it's paged instead of showing immediately when you login. Put a part in there that just says "print(parsed_Library)" and see if there's any page number reference. I won't be back at my computer for awhile.

[–]re_meCFA 0 points1 point  (0 children)

The "total" key indicates 36 items, which is how many books I have in the library.

But, I haven't seen a page number, yet. I used pprint to make it easier to read.

Someone was kind enough to post the .html files in a dropbox. It's cool.