File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ async def parse_video(url: str):
2020 logger .info (f"{ url } | 开始解析推特视频" )
2121 result = await parser .parse (keyword , searched )
2222 logger .debug (f"{ url } | 解析结果: \n { result } " )
23- assert result .title , "标题为空"
2423 video_contents = result .video_contents
2524 assert video_contents , "视频内容为空"
2625 for video_content in video_contents :
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ async def test_repost():
3939
4040 urls = [
4141 # "https://mapp.api.weibo.cn/fx/77eaa5c2f741894631a87fc4806a1f05.html",
42- "https://weibo.com/1694917363/Q0KtXh6z2 " ,
42+ "https://weibo.com/1854467892/QsPbt51HH " ,
4343 ]
4444
4545 async def parse_repost (url ) -> None :
@@ -102,7 +102,6 @@ async def test_text():
102102 # "https://mapp.api.weibo.cn/fx/8102df2b26100b2e608e6498a0d3cfe2.html",
103103 "https://weibo.com/3144744040/PvoG6c1AR" ,
104104 "https://weibo.com/3144744040/PiTAYaTKQ" ,
105- "https://weibo.com/1157864602/Q0PtH9Yux" ,
106105 ]
107106
108107 async def parse_text (url : str ) -> None :
You can’t perform that action at this time.
0 commit comments