回答編集履歴
1
修正
test
CHANGED
@@ -32,9 +32,7 @@
|
|
32
32
|
|
33
33
|
async with session.get(url='https://URL/file/data1.xml') as response:
|
34
34
|
|
35
|
-
|
35
|
+
xml_data = await response.text(encoding='Shift_JIS') #<------------修正
|
36
|
-
|
37
|
-
xml_data = text #<------------追加
|
38
36
|
|
39
37
|
```
|
40
38
|
|
@@ -104,9 +102,7 @@
|
|
104
102
|
|
105
103
|
async with session.get(url='https://URL/file/data1.xml') as response:
|
106
104
|
|
107
|
-
|
105
|
+
xml_data = await response.text(encoding="Shift_JIS")
|
108
|
-
|
109
|
-
xml_data = text
|
110
106
|
|
111
107
|
try:
|
112
108
|
|