import requests
r = response = requests.get('https://sky.lea.moe/stats/TheKatDev')
print(r.text)
I am trying to get an element of the class class="stat-value" with a request and I'm not sure how any help. I'm tried a few things but none of it worked thank you for your help.
您需要使用 XML 或 HTML 解析器(如 BeautifulSoup)来获取该类的值。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.