This commit is contained in:
lwl0608 2024-09-14 01:31:37 +08:00
parent 7bd38e9387
commit 7e059b8564
1 changed files with 3 additions and 2 deletions

View File

@ -43,11 +43,12 @@ class S:
"src_id_h264": 1
}
docs = self.col_video.find({}, projection=prj)
for d in docs[:10]:
for d in docs[:100]:
vid = safe_get_int(d, "_id")
src_id_h264 = safe_get_str(d, "src_id_h264")
url = host + src_id_h264
print(vid, url)
if len(src_id_h264) > 0:
print(vid, url)
# video_url = 'https://filecdn01.tiefen.fun/vdprodh264720/5a/d7/175d-2137-4a66-8e5c-d5ed61241b6c'