Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
doudian-py
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
baiquan
doudian-py
Commits
252eed86
Commit
252eed86
authored
Jul 15, 2025
by
baiquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化hub浏览器关闭逻辑
parent
efda7c1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
shop.py
+6
-3
No files found.
shop.py
View file @
252eed86
...
@@ -201,9 +201,12 @@ async def run():
...
@@ -201,9 +201,12 @@ async def run():
except
Exception
as
e
:
except
Exception
as
e
:
logger
.
error
(
f
"任务处理异常: {e}"
)
logger
.
error
(
f
"任务处理异常: {e}"
)
for
task
in
tasks
:
for
task
in
tasks
:
if
task
.
get
(
"type"
)
==
1
:
browser_id
=
task
.
get
(
"browser_id"
)
await
closeAllBrowser
()
if
browser_id
:
break
await
closeBrowser
(
browser_id
)
# if task.get("type") == 1:
# await closeAllBrowser()
# break
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
...
...
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