Provides you with an ability to download all resources linked in the piazza resources panel.
In order to make it work follow the steps:
-
Create an empty directory and go there
-
Dowload the repository
git clone https://github.com/warmspringwinds/piazza_resources_downloader.git
-
Go to piazza resources page where all the resources can be dowloaded.
-
If you are in Chrome press
ctrl + shift + j
and paste the contents of thefetch_urls_and_names.js
into the console. If you are using Firefox got toDeveloper > Debugger
and thenConsole
in the opened window. It can warn you when you try to paste that you have to first type in the consoleallow pasting
. -
You should see outputs in your console with links and with names. Copy both outputs in respective files in repository. Just delete what exists already in the files and put you result there.:
resources_links.txt
andresources_names.txt
. -
While being in the repository directory run
python get_resources_files.py
.
I have already extracted all the links and filenames for Machine Learning course in Tum
.
So in order to download it just do steps 1, 2, 6
from the aforementioned guide.
But be careful while doing this. The links are changed sometimes and you can get no files in that case. Better use the first approach or just download the archive.
Or you can just download the archived zip