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
28d6a6db
Commit
28d6a6db
authored
Jan 14, 2024
by
wangmingming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
c8562f03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
jetblue.py
jetblue.py
+1
-1
main.py
wnsrc/src/main.py
+3
-2
No files found.
jetblue.py
View file @
28d6a6db
...
...
@@ -201,7 +201,7 @@ while True:
tlsV
=
f
'chrome_{random.randint(105, 113)}'
tlsV
=
'chrome_112'
# session = tls_client.Session(tlsV)
session
=
requests
.
S
ession
()
session
=
requests
.
S
session
.
proxies
=
{
'http'
:
proxy
,
'https'
:
proxy
,
...
...
wnsrc/src/main.py
View file @
28d6a6db
...
...
@@ -8,7 +8,7 @@ from pathlib import Path
import
loguru
import
requests
import
json
import
tls_client
#
import tls_client
from
bson
import
ObjectId
import
hashlib
from
pymongo
import
MongoClient
...
...
@@ -202,7 +202,8 @@ while True:
proxy
=
random
.
choice
([
proxy
,
proxy1
])
tlsV
=
f
'chrome_{random.randint(105, 113)}'
tlsV
=
'chrome_112'
session
=
tls_client
.
Session
(
tlsV
)
# session = tls_client.Session(tlsV)
session
=
requests
.
Session
()
session
.
proxies
=
{
'http'
:
proxy
,
'https'
:
proxy
,
...
...
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