Commit 76c15424 authored by wang's avatar wang

test

parent d5face8e
......@@ -34,7 +34,7 @@ def get_proxy():
def add_header(headers: dict, cookies: dict, px: str, thread_id=0):
cks = []
for k, v in cookies.items():
for k, v in cookies:
cks.append(f'{k}={v}')
headers['cookie'] = '; '.join(cks)
data = {
......@@ -76,7 +76,7 @@ def exec(thread_id):
def run():
brush_thread = 2
brush_thread = 1
print(f'本次并发数 {brush_thread}')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment