Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cybertron
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
cybertron
Commits
1db5d7c9
Commit
1db5d7c9
authored
Dec 07, 2018
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
majia new
parent
172f3cf4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
workspace.xml
.idea/workspace.xml
+0
-0
auto_at_once.py
auto_at_once.py
+11
-3
auto_click.py
auto_click.py
+13
-3
No files found.
.idea/workspace.xml
View file @
1db5d7c9
This diff is collapsed.
Click to expand it.
auto_at_once.py
View file @
1db5d7c9
...
@@ -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
,
...
...
auto_click.py
View file @
1db5d7c9
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment