回答編集履歴
1
test
CHANGED
@@ -9,8 +9,8 @@
|
|
9
9
|
url = f'https://kokkai.ndl.go.jp/minutes/api/v1/detail/list?minId={min_id}'
|
10
10
|
text = req.get(url).text
|
11
11
|
dic = json.loads(text)
|
12
|
-
text = [t for t in dic['data'][0]['spk_inf'] if t['spk_num'] == int(spk_num)]
|
12
|
+
text = [t['speech'] for t in dic['data'][0]['spk_inf'] if t['spk_num'] == int(spk_num)]
|
13
|
-
if text: text = text[0]
|
13
|
+
if text: text = text[0]
|
14
14
|
print(text)
|
15
15
|
|
16
16
|
# ○前原委員 国民民主党の前原誠司でございます。
|