qgyd2021 commited on
Commit
7a3d792
·
1 Parent(s): bcb6ff2
toolbox/porter/tasks/douyin_live_record_task.py CHANGED
@@ -301,10 +301,10 @@ class DouyinLiveRecordTask(BaseTask):
301
  await self.save_downloaded_video_info(create_time_str, filename, title, tags, video_id, live_url, metadata)
302
  return None
303
 
304
- async def save_downloaded_video_info(self, create_time: str, filename: str, title: str, tags: List[str], video_id: str, live_url: str, metadata: dict) -> str:
305
  video_info = await self.load_downloaded_video_info()
306
  video_info[video_id] = {
307
- "create_time": create_time,
308
  "filename": filename,
309
  "title": title,
310
  "desc": "",
 
301
  await self.save_downloaded_video_info(create_time_str, filename, title, tags, video_id, live_url, metadata)
302
  return None
303
 
304
+ async def save_downloaded_video_info(self, create_time_str: str, filename: str, title: str, tags: List[str], video_id: str, live_url: str, metadata: dict) -> str:
305
  video_info = await self.load_downloaded_video_info()
306
  video_info[video_id] = {
307
+ "create_time_str": create_time_str,
308
  "filename": filename,
309
  "title": title,
310
  "desc": "",
toolbox/porter/tasks/youtube_video_download_task.py DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/python3
2
- # -*- coding: utf-8 -*-
3
-
4
-
5
- if __name__ == "__main__":
6
- pass