[Python] GET リクエストを送信する
作成日: 2023年04月07日
request モジュールの get() メソッドを使用すると、GET リクエストを送信することができます。レスポンスの文字列は response.text に含まれています。
import requests
response = requests.get("https://example.com")
print(response.text)