SlideShare to PDF
A python script to help you back up your SlideShare presentations to PDF.
This script has been tested with Vagrant on an Ubuntu Trusty 64 VM (Vagrantfile included) and requires the following packages:
They can be installed by running:
apt-get update apt-get install -y imagemagick python-bs4 python-lxml
Just run it
Simply running the script will prompt you to input the SlideShare URL you'd like to download. By default, this file will be saved in the
downloads directory created in the root of the script.
./grub.py Input the SlideShare URL you want to convert: [SLIDE URL] Reading SlideShare page... Downloading slide 1... Downloading slide 2... [...] Converting to PDF... Your file has been successfully created at downloads/[SLIDE NAME].pdf
Run it with Arguments
Specify the SlideShare URL you'd like to download with
./grub.py -i [SLIDESHARE URL]
You can specify where to save your PDF with
-o. The script will accept a directory or a file path. If only the directory path is specified, the name of the slide will be used.
./grub.py -o [FOLDER OR FILE PATH] # save in directory ./grub.py -i [...] -o /home/user/documents/ # save to file ./grub.py -i [...] -o /home/user/documents/my-slide.pdf
Don't print status messages to stdout.
Show help message and exit.
This repository includes a Vagrantfile. If you'd like to collaborate, this should help jumpstart the development process.