Dont modify the image url, some ships dont have larger variants on the wiki
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Robles 2023-05-25 10:18:24 -07:00
parent 8f995fd5ea
commit 84aebe340d

View File

@ -24,9 +24,8 @@ async def get_ship(ship_name):
)
ship_image = (
(soup.find("a", {"class": "mw-file-description"}))
.img["src"]
.replace("400px", "1920px")
(soup.find("a", {"class": "mw-file-description"})).img["src"]
# .replace("400px", "1920px")
)
ship_name_on_page = (