Skip to content

Commit

Permalink
Fri, Aug 2, 2024, 10:28 PM +03:00
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdoullahBougataya committed Aug 2, 2024
1 parent 0958ecc commit 2b5fc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images_scrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")[4])
print(soup.find_all("img")[4].get("srcset"))

0 comments on commit 2b5fc96

Please sign in to comment.