回答編集履歴

1

追記

2022/12/20 06:05

投稿

can110
can110

スコア38262

test CHANGED
@@ -16,5 +16,6 @@
16
16
  with request.urlopen(get_req) as res:
17
17
  print(res.getheaders())
18
18
  ```
19
+ あるいは[requests](https://requests-docs-ja.readthedocs.io/en/latest/)だとURL中のエンコードを自動でやってくれるようなので、そちらを使った方が楽かもしれません。
19
20
 
20
21