Commit 1db5d7c9 authored by lixiaofang's avatar lixiaofang

majia new

parent 172f3cf4
This diff is collapsed.
...@@ -37,14 +37,22 @@ def get_majia(): ...@@ -37,14 +37,22 @@ def get_majia():
def login(): def login():
user_id=get_majia() # time.sleep(random.randint(300, 500))
num_majia = random.randint(1, 300)
# user_id=majia[num_majia]
user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first() cookies = index_first()
post_dict={ post_dict={
'account_type':2, 'account_type':2,
'pwd':'123456', 'pwd':pwd,
'email':user_id 'email':user
} }
response = requests.post( response = requests.post(
url=login_url, url=login_url,
......
...@@ -36,18 +36,28 @@ def get_majia(): ...@@ -36,18 +36,28 @@ def get_majia():
user_id=list[maj] user_id=list[maj]
print(user_id)
return user_id return user_id
def login(): def login():
user_id=get_majia() # time.sleep(random.randint(300, 500))
num_majia = random.randint(1, 300)
# user_id=majia[num_majia]
user = 's_PzFznI@shadow.com'
pwd = '123456'
cookies = index_first() cookies = index_first()
post_dict={ post_dict={
'account_type':2, 'account_type':2,
'pwd':'123456', 'pwd':pwd,
'email':user_id 'email':user
} }
response = requests.post( response = requests.post(
url=login_url, url=login_url,
......
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