miyuki2026 commited on
Commit
2e5953a
·
1 Parent(s): ef5c7d6
data/porter_tasks/porter_task_loudao_douyin_video_to_youtube.json CHANGED
@@ -1,4 +1,15 @@
1
  [
 
 
 
 
 
 
 
 
 
 
 
2
  {
3
  "enable": true,
4
  "type": "douyin_video_download",
 
1
  [
2
+ {
3
+ "enable": true,
4
+ "type": "douyin_video_download",
5
+ "user_name": "老娄布道0810",
6
+ "sec_user_id": "MS4wLjABAAAAlb6ovEJy2FojTaD_lI_EQFK8Rusor-uJyVIaxSG6be-tKdJI1IeN9HUB_boj2ccS",
7
+ "check_interval": 900,
8
+ "key_of_credentials": "douyin_wentao_credentials",
9
+ "min_date2": "2026-02-23 00:00:00",
10
+ "output_video_dir": "data/tasks/loudao_douyin_video_to_youtube/video/douyin/老娄布道",
11
+ "output_video_info_file": "data/tasks/loudao_douyin_video_to_youtube/video/douyin/老娄布道/file_info.json"
12
+ },
13
  {
14
  "enable": true,
15
  "type": "douyin_video_download",
toolbox/porter/tasks/douyin_video_download_task.py CHANGED
@@ -152,7 +152,7 @@ class DouyinVideoDownloadTask(BaseTask):
152
  continue
153
 
154
  downloaded_video_title_set = await self.get_downloaded_video_title_set()
155
- if title in downloaded_video_title_set:
156
  continue
157
 
158
  title_ = re.sub(r'[\\/:*?"<>|]', '_', title)
 
152
  continue
153
 
154
  downloaded_video_title_set = await self.get_downloaded_video_title_set()
155
+ if len(title) > 0 and title in downloaded_video_title_set:
156
  continue
157
 
158
  title_ = re.sub(r'[\\/:*?"<>|]', '_', title)