Update xml_scan.py
Browse files- xml_scan.py +2 -2
xml_scan.py
CHANGED
@@ -36,9 +36,9 @@ for number in tqdm(range(1, 45000)):
|
|
36 |
with open("extracted_info.txt", "a", encoding="utf-8") as info_file:
|
37 |
info_file.write(f"{title_id},{title},{version}\n")
|
38 |
|
39 |
-
print(f"{GameID}:{title} - COMPLETE
|
40 |
except (requests.exceptions.RequestException, ET.ParseError) as e:
|
41 |
-
|
42 |
continue
|
43 |
|
44 |
print("Extraction and writing completed!")
|
|
|
36 |
with open("extracted_info.txt", "a", encoding="utf-8") as info_file:
|
37 |
info_file.write(f"{title_id},{title},{version}\n")
|
38 |
|
39 |
+
print(f"\r{GameID}:{title} - COMPLETE", end="")
|
40 |
except (requests.exceptions.RequestException, ET.ParseError) as e:
|
41 |
+
pprint(f"\r{GameID} - Error", end="")
|
42 |
continue
|
43 |
|
44 |
print("Extraction and writing completed!")
|