|
@@ -0,0 +1,12 @@
|
|
|
+from bs4 import BeautifulSoup
|
|
|
+import requests
|
|
|
+
|
|
|
+headers = {
|
|
|
+ "Authorization": "Bearer " + "WekCRfnAirSiSxALiD6gcm0B56EejsoK89zFbIaiZQD",
|
|
|
+ "Content-Type": "application/x-www-form-urlencoded"
|
|
|
+}
|
|
|
+
|
|
|
+params = {"message": "這個應該比telegram 好用"}
|
|
|
+
|
|
|
+r = requests.post("https://notify-api.line.me/api/notify",headers=headers, params=params)
|
|
|
+print(r)
|