Spaces:
Running
Running
Commit
·
bdc9122
1
Parent(s):
5bf95ef
Fix formatting in main.py for consistent string quotes
Browse files
main.py
CHANGED
@@ -42,6 +42,6 @@ if __name__ == "__main__":
|
|
42 |
access_key = "1234"
|
43 |
data = main(url, title, id, access_key)
|
44 |
print(len(data))
|
45 |
-
print(data[
|
46 |
-
with open("output.json", "w", encoding=
|
47 |
json.dump(data, f, ensure_ascii=False, indent=4)
|
|
|
42 |
access_key = "1234"
|
43 |
data = main(url, title, id, access_key)
|
44 |
print(len(data))
|
45 |
+
print(data["title"])
|
46 |
+
with open("output.json", "w", encoding="utf-8") as f:
|
47 |
json.dump(data, f, ensure_ascii=False, indent=4)
|