notify_tests.py 1003 B

12345678910111213141516171819202122
  1. from bs4 import BeautifulSoup
  2. import requests
  3. import time
  4. #h7QtBUeJLTrYOY89sMqgNEKcM8qlwbkI3olYgGDghb4
  5. #
  6. headers = {
  7. # "Authorization": "Bearer " + "WekCRfnAirSiSxALiD6gcm0B56EejsoK89zFbIaiZQD",
  8. # "Authorization": "Bearer " + "h7QtBUeJLTrYOY89sMqgNEKcM8qlwbkI3olYgGDghb4",
  9. # "Authorization": "Bearer " + "t35vhZtWNgvDNWHc3DJh0OKll3mcB9GvC8K2EAkBug2",
  10. # "Authorization": "Bearer " + "1dbtJHbWVbrooXmQqc4r8OyRWDryjD4TMJ6DiDsdgsX",
  11. # "Authorization": "Bearer " + "7vilzohcyQMPLfAMRloUawiTV4vtusZhxv8Czo7AJX8",
  12. # "Authorization": "Bearer " + "HOB1kVNgIb81tTB4Ort1BfhVp9GFo6NlToMQg88vEhh",
  13. # "Authorization": "Bearer " + "6SDULL1Ebklduc6TFxa97AFto5Sj21kyJ30CxiLiSoi",
  14. "Authorization": "Bearer " + "OZDcq7sVKwr3F6YNLtBF3LuIgpa4Ql9eAnBWeD7sHTJ",
  15. "Content-Type": "application/x-www-form-urlencoded"
  16. }
  17. params = {"message": "test..test.."}
  18. r = requests.post("https://notify-api.line.me/api/notify",headers=headers, params=params)
  19. print(r)