Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wfs_export
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yexing
wfs_export
Commits
744cab38
Commit
744cab38
authored
Dec 23, 2025
by
yexing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小细节
parent
5ac648ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
plugin/eslint.config.js
+1
-1
src/walmart_sup.py
+2
-0
No files found.
plugin/eslint.config.js
View file @
744cab38
...
...
@@ -13,7 +13,7 @@ export default [
argsIgnorePattern
:
"^_"
,
// 忽略函数参数
varsIgnorePattern
:
"^_"
,
// 忽略普通变量
destructuredArrayIgnorePattern
:
"^_"
,
// 忽略解构数组中的变量
caughtErrorsIgnorePattern
:
"^_"
// 忽略 catch 错误变量
caughtErrorsIgnorePattern
:
"^_"
,
// 忽略 catch 错误变量
}
]
}
...
...
src/walmart_sup.py
View file @
744cab38
...
...
@@ -41,6 +41,8 @@ class Subsidiary:
url
=
"https://20tools.net/api/proxies/all?sign=ftd*kcm.ygh4mjp7ERJ"
resp
:
Response
=
await
self
.
s
.
get
(
url
)
ips
=
resp
.
json
()
if
not
ips
:
continue
await
self
.
r
.
sadd
(
"walmart_ips"
,
*
ips
)
await
self
.
r
.
expire
(
"walmart_ips"
,
1
)
logger
.
debug
(
f
"缓存ip ({len(ips)}): {ips}"
)
...
...
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