image_scraper.py 300 B

1234567891011121314151617
  1. #Cerca i file relativi alle immagini delle lettere DATINI e le copia
  2. #%%
  3. import requests
  4. from bs4 import BeautifulSoup
  5. url = ''
  6. reqs = requests.get(url)
  7. soup = BeautifulSoup(reqs.text, 'html.parser')
  8. urls = []
  9. for link in soup.find_all('img'):
  10. print(link.get('href'))