Update xml_scan.py
Browse files- xml_scan.py +1 -1
xml_scan.py
CHANGED
|
@@ -41,7 +41,7 @@ for number in tqdm(range(1, 45000)):
|
|
| 41 |
with open("extracted_info.txt", "a", encoding="utf-8") as info_file:
|
| 42 |
info_file.write(f"{title_id},{title},{version},{content_id}\n")
|
| 43 |
|
| 44 |
-
print(f"{GameID}:{title} - 获取完成")
|
| 45 |
except (requests.exceptions.RequestException, ET.ParseError) as e:
|
| 46 |
print(f"{GameID} - Error: {e}")
|
| 47 |
continue # 出错时继续下一次循环
|
|
|
|
| 41 |
with open("extracted_info.txt", "a", encoding="utf-8") as info_file:
|
| 42 |
info_file.write(f"{title_id},{title},{version},{content_id}\n")
|
| 43 |
|
| 44 |
+
print(f"{GameID}:{title} - 获取完成\n")
|
| 45 |
except (requests.exceptions.RequestException, ET.ParseError) as e:
|
| 46 |
print(f"{GameID} - Error: {e}")
|
| 47 |
continue # 出错时继续下一次循环
|