I\'d need to save pictures from this website in a folder:
http://www.photobirdireland.com/garden-birds.html
I\'ve tried by using import os
from l
this html = urlopen(url) should be html = urlopen(self.url)
edit: you can fetch the urls like this
def scrape_images(self):
html = urlopen(selfurl)
bs4 = bs(html, 'html.parser')
urls = []
for img in bs4.find_all('img'):
urls.append(img.attrs.get("src"))
return urls
and the next step would be finding out how to download them.