EDIT: Cisco has made some changes to their e-reader program so that this script requires an update. The main thing that they did was obfuscate the page names so that it’s not trivial to parse through the content. I’ll need to modify the script to account for these dynamically allocated names and add the Cloudflare info that they are also now looking for.
I wrote this script to make a PDF file of the electronic training materials that I paid for. I don’t like to have to login and use their annoying E-Reader when doing my labs, so now I have a local copy of the study materials to work from.
This is just a quick and dirty hack but it gets the job done. I may try and refine it in the future if the need presents itself and time permits.
Web Structure for the script above.