diff --git a/AutoBuild/twnic_rpz_1.0.py b/AutoBuild/twnic_rpz_1.0.py index 91876b0..1fdd498 100644 --- a/AutoBuild/twnic_rpz_1.0.py +++ b/AutoBuild/twnic_rpz_1.0.py @@ -1,8 +1,8 @@ import requests, json from bs4 import BeautifulSoup -soup = BeautifulSoup(requests.get("https://rpz.twnic.tw/e.html").text, "html.parser") -exec(str(soup.find("script")).split(";")[0].split("const ")[1]) +rawData = BeautifulSoup(requests.get("https://rpz.twnic.tw/e.html").text, "html.parser") +rpzdata = json.loads(a.split("