Dont modify the image url, some ships dont have larger variants on the wiki
This commit is contained in:
parent
3eabe5cf80
commit
a28aaa0ec9
@ -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 = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user