diff --git a/images_scrapper.py b/images_scrapper.py index 55409cc..479f041 100644 --- a/images_scrapper.py +++ b/images_scrapper.py @@ -17,4 +17,4 @@ wikipedia_link = str(the_link.get('href')).removeprefix("/url?q=").split("&")[0] r = requests.get(wikipedia_link) soup = BeautifulSoup(r.text, "html.parser") - print(soup.find_all("img")[0]) + print(soup.find_all("img")[3])