diff --git a/app/bot.py b/app/bot.py old mode 100644 new mode 100755 diff --git a/app/star_citizen.py b/app/star_citizen.py index 955cb1f2..6ced8486 100755 --- a/app/star_citizen.py +++ b/app/star_citizen.py @@ -105,7 +105,11 @@ async def get_ship(ship_name): inline=True, ) - buy_location = soup.find_all("td", {"class": "Location smwtype_wpg"}) + buy_location = ( + soup.find("span", {"id": "Universe_availability"}) + .findNext("tbody") + .find_all("td", {"class", "Location smwtype_wpg"}) + ) if len(buy_location): embed.add_field(