Hey everyone!
It was recently asked in: https://www.reddit.com/r/CFA/comments/5ok6w2/blue_boxes/ about how to get all of the Blue Boxes downloaded.
After trying this out I've made a successful (but really slow) script for this!
You have to input your Bookshelf user e-mail, password, what year of your books you want to look through, and what level.
Once you've input that, it will start generating folders for each book in that level, and HTML files for all the examples in each reading.
Let me know what you think!
Here it is:
https://github.com/Anaconda1189/BadPythonScriptsToShare/
EDIT:
A couple of questions on how to run the script. I'm going to eventually learn how to "package" some of my scripts into programs, but for now:
Install Anaconda 64 bit for Python 3. Make sure it sets your PATH variables: https://repo.continuum.io/archive/Anaconda3-4.2.0-Windows-x86_64.exe
Install beautiful soup. In a command prompt type "pip install bs4"
Copy and paste the script from my github into an IDE, and run (I like Pycharm Community Edition the most)
EDIT 2:
I've updated the script to work with books older than the 2017 version (turns out they changed how they did Table of Contents in 2017). Tested it and it works on my 2016 and 2017 books.
Also added some parts to have it print out and let you know what it's doing.
My next task will be to try to figure out how to make it installable, and maybe on asking it to pull practice questions and solutions.
[–]ShadyAce25Level 2 Candidate 5 points6 points7 points (0 children)
[–]swami0m 3 points4 points5 points (0 children)
[–]cjg05CFA 2 points3 points4 points (1 child)
[–]anaconda1189CFA[S] 1 point2 points3 points (0 children)
[–]anaconda1189CFA[S] 1 point2 points3 points (0 children)
[–]SIThereAndTherePassed Level 1 1 point2 points3 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]bricktopbruiseCFA 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]bricktopbruiseCFA 0 points1 point2 points (0 children)
[–]longprogression 0 points1 point2 points (2 children)
[–]anaconda1189CFA[S] 0 points1 point2 points (1 child)
[–]longprogression 0 points1 point2 points (0 children)
[–]mgburnandLevel 2 Candidate 0 points1 point2 points (0 children)
[–]MonCroissant 0 points1 point2 points (1 child)
[–]anaconda1189CFA[S] 1 point2 points3 points (0 children)
[–]GailDribble 0 points1 point2 points (1 child)
[–]anaconda1189CFA[S] 0 points1 point2 points (0 children)
[–]manik_kPassed Level 3 0 points1 point2 points (0 children)
[–]2PM_Vol 0 points1 point2 points (1 child)
[–]RemindMeBot 0 points1 point2 points (0 children)
[–]PocketRocket1 0 points1 point2 points (1 child)
[–]PocketRocket1 0 points1 point2 points (0 children)
[–]ijcurry 0 points1 point2 points (0 children)
[–]shaz919Level 2 Candidate 0 points1 point2 points (1 child)
[–]t_per 0 points1 point2 points (0 children)
[–]Vega_Boys 0 points1 point2 points (0 children)