mirror of
https://github.com/PaiGramTeam/HonkaiStarRailWikiDataParser.git
synced 2025-01-30 18:38:36 +00:00
fix: station avatar third pic
This commit is contained in:
parent
bb0248ea7f
commit
47a0a1c6db
@ -44,7 +44,7 @@ async def parse_station(datas, name: str, tag: Tag, cid: int):
|
||||
def get_third_pic():
|
||||
_tag = tag.find("div", {"class": "a69d1"})
|
||||
style = _tag.get("style")
|
||||
return f'{base_station_url}/{style[style.find("(") + 2:style.find(")") - 1]}'
|
||||
return f'{base_station_url}/{style[style.find("(") + 2:style.find(")")]}'
|
||||
|
||||
third_pic = get_third_pic()
|
||||
text = soup.find("div", {"class": "a6678 a4af5"}).get("style")
|
||||
|
Loading…
Reference in New Issue
Block a user