Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
1d40afe5
Commit
1d40afe5
authored
Sep 12, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配不同版本 chrome
parent
958f01c0
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3232 deletions
+7
-3232
jetblue.py
jetblue.py
+3
-3
js_dom_run.js
js_dom_run.js
+1
-1
src_out.js
src_out.js
+2
-3227
src_run_chrome_105.js
src_run_chrome_105.js
+1
-1
No files found.
jetblue.py
View file @
1d40afe5
...
...
@@ -66,7 +66,7 @@ for i in range(100):
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
proxy
=
'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
if
platform
.
uname
()
.
system
==
'Darwin'
:
proxy
=
'http://127.0.0.1:
7
890'
proxy
=
'http://127.0.0.1:
8
890'
tlsV
=
f
'chrome_{random.randint(105, 113)}'
tlsV
=
'chrome_114'
session
=
tls_client
.
Session
(
tlsV
)
...
...
@@ -91,8 +91,8 @@ for i in range(100):
t1
=
time
.
time
()
# r = requests.get('http://127.0.0.1:5000/getinfo').json()['message']
# r = requests.get('http://127.0.0.1:3001').json()
p
=
subprocess
.
Popen
([
'node'
,
'js_dom_run.js'
,
selectId
,
'11'
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
#
p = subprocess.Popen(['node', 'src_run_chrome_105.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
#
p = subprocess.Popen(['node', 'js_dom_run.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
p
=
subprocess
.
Popen
([
'node'
,
'src_run_chrome_105.js'
,
selectId
,
'11'
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
# p = subprocess.Popen(['node', 'src_run_company_chrome.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
# p = subprocess.Popen(['node', 'src_run.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr
=
subprocess
.
PIPE
)
...
...
js_dom_run.js
View file @
1d40afe5
...
...
@@ -45,7 +45,7 @@ let sid = keys[parseInt(Math.random() * keys.length)]
let
ENV
=
ENVS
[
sid
]
// let ENV = ENVS[ '1']
let
randomEvent
=
true
;
let
timeout
=
tru
e
;
let
timeout
=
fals
e
;
_hasOwnProperty
=
Object
.
hasOwnProperty
Object
.
hasOwnProperty
=
function
(
a
){
let
res
=
_hasOwnProperty
.
call
(
this
,
a
);
...
...
src_out.js
View file @
1d40afe5
This diff is collapsed.
Click to expand it.
src_run_chrome_105.js
View file @
1d40afe5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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