Downloading Links from a Website
Let’s say you found a treasure trove of information, pictures, documentation, or whatever else on the web and you just want to download all of it at one time. Yes, you can just use software that someone has already written to accomplish this task, but you’re here because you’re going to script it yourself! It’s pretty easy once you see it done. Let me show you.
First, let’s import or libraries that we will use. We need ‘BeautifulSoup‘ and ‘urllib‘, along with ‘os‘