csdn积分不够用了咋办呢?刷!!!
1.前言:没人看我文章呢?积分升不去,又有需要怎么办?别人不看,我还不能“自己看”吗?就用这简单的Python3刷刷刷……
2.简单实现快速去刷
# encoding=utf8
import requests
import time
import threading
oneUrl = "http://blog.csdn.net/github_38117599/article/details/77938339"
moreUrl = ["http://blog.csdn.net/github_38117599/article/details/73744558",
"http://blog.csdn.net/github_38117599/article/details/78003551",
"http://blog.csdn.net/github_38117599/article/details/68069868",
"http://blog.csdn.net/github_38117599/article/details/69265532",
"http://blog.csdn.net/github_38117599/article/details/69870119",
"http://blog.csdn.net/github_38117599/article/details/70244518",
"http://blog.csdn.net/github_38117599/article/details/73744558",
"http://blog.csdn.net/github_38117599/article/details/77196830",
"http://blog.csdn.net/github_38117599/article/details/77484456",
"http://blog.csdn.net/github_38117599/article/details/77825626",
"http://blog.csdn.net/github_38117599/article/details/77926922",
"http://blog.csdn.net/github_38117599/article/details/77938339"]
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36'
,
'Cookie': '_message_m=23yegwleahbzf4fy5a05grgr; uuid=e7680a5d-2824-45d9-ac7a-06289c3d3cd8; avh=53945000%2c52282490; dc_tos=os5x0v; dc_session_id=1498493448566'
}
class MyThread(threading.Thread):
def run(self):
for i in range(1, 1000):
requests.get(moreUrl[i%12], headers)#列出自己全部文章的id
# requests.get(oneUrl, headers)#单刷一篇文章
msg = self.name+"访问的次数 " + str(i)
print(msg)
time.sleep(0.1)
for i in range(10):
MyThread().start()