fix
This commit is contained in:
parent
7bd38e9387
commit
7e059b8564
|
@ -43,10 +43,11 @@ class S:
|
||||||
"src_id_h264": 1
|
"src_id_h264": 1
|
||||||
}
|
}
|
||||||
docs = self.col_video.find({}, projection=prj)
|
docs = self.col_video.find({}, projection=prj)
|
||||||
for d in docs[:10]:
|
for d in docs[:100]:
|
||||||
vid = safe_get_int(d, "_id")
|
vid = safe_get_int(d, "_id")
|
||||||
src_id_h264 = safe_get_str(d, "src_id_h264")
|
src_id_h264 = safe_get_str(d, "src_id_h264")
|
||||||
url = host + src_id_h264
|
url = host + src_id_h264
|
||||||
|
if len(src_id_h264) > 0:
|
||||||
print(vid, url)
|
print(vid, url)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue