diff --git a/app/star_citizen.py b/app/star_citizen.py index 848459ef..9f4cec4c 100755 --- a/app/star_citizen.py +++ b/app/star_citizen.py @@ -261,9 +261,7 @@ async def get_ship(ship_name): ) try: pledge_price = ( - soup.find( - "span", {"class": "ext-floatingui-reference"}, string="Standalone" - ) + soup.find("div", {"class": "infobox__label"}, string="Standalone") .findNext("div", {"class": "infobox__data"}) .text ) @@ -344,7 +342,7 @@ async def get_ship(ship_name): try: quantum_fuel = ( soup.find("div", {"class": "infobox__label"}, string="Quantum capacity") - .findNext("span", {"class": "smwtext"}) + .findNext("div", {"class": "infobox__data"}) .text ) except Exception: