|
@@ -10,6 +10,16 @@ class Demo:
|
|
|
sheet = Feishu.get_values_batch(log_type, crawler, sheet)
|
|
|
print(sheet)
|
|
|
|
|
|
+ @classmethod
|
|
|
+ def video_url(cls):
|
|
|
+ video_url = 'http://mpvideo.qpic.cn/0bc3iaabaaaafmabgd46ljrvaqgdcbaaaeaa.f10002.mp4?dis_k=17aabf3b2995531f464d35b76c8c25b5&dis_t=1671466144&play_scene=0'
|
|
|
+ if video_url in [x for y in Feishu.get_values_batch('demo', 'jxxf', 'd9e9b1') for x in y]:
|
|
|
+ print('yes')
|
|
|
+ else:
|
|
|
+ print('no')
|
|
|
+
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
- Demo.get_sheet('recommend', 'jxxf', '9Ws66h')
|
|
|
+ # Demo.get_sheet('recommend', 'jxxf', '9Ws66h')
|
|
|
+ Demo.video_url()
|
|
|
+ pass
|