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
2e6d0910
Commit
2e6d0910
authored
Jul 02, 2025
by
baiquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用多线程上传视频切片
parent
1505180d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
service/upload_video.py
+0
-0
task_worker.py
+2
-2
No files found.
service/upload_video.py
View file @
2e6d0910
This diff is collapsed.
Click to expand it.
task_worker.py
View file @
2e6d0910
...
...
@@ -8,7 +8,7 @@ from service.doudian_service import generate_a_bogus, get_schema, create_global_
from
service.hub_
import
closeBrowser
from
service.login
import
login
from
service.sync_shop
import
syncShop
,
syncShopInfo
from
service.upload_video
import
upload_video
from
service.upload_video
import
upload_video
_with_multithreading
from
utils.errors
import
AppError
...
...
@@ -136,7 +136,7 @@ def execute_doudian_login(account: str, password: str, headers: dict, proxies: d
def
execute_doudian_upload_video
(
task
:
dict
):
"""上传视频"""
try
:
result
=
upload_video
(
task
)
result
=
upload_video
_with_multithreading
(
task
)
logger
.
success
(
f
'视频上传成功-->{result}'
)
return
{
'code'
:
200
,
...
...
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