A python script that downloads all online chapters of the free textbook Operating System: Three Easy Pieces (OSTEP for short).
git clone https://github.com/xUser5000/OSTEP-download.git # clone the repo
cd OSTEP-download
pip install -r requirements.txt # install the script dependencies (BeautifulSoup and Requests)
python script.py
- Scrapes https://pages.cs.wisc.edu/~remzi/OSTEP/
- Finds all
<a>
s whosehref
end with.pdf
- For each pdf file, makes a new thread and downloads the file on disk