|
@@ -29,6 +29,7 @@ from data_channel.shipinhao import SPH
|
|
|
|
|
|
# 读取配置文件
|
|
|
from data_channel.shipinhaodandian import SPHDD
|
|
|
+from data_channel.sph_feed import SPHFeed
|
|
|
from data_channel.sph_keyword import SphKeyword
|
|
|
from data_channel.sph_ls import SPHLS
|
|
|
|
|
@@ -415,6 +416,8 @@ class VideoProcessor:
|
|
|
sheet = "Tgpikc"
|
|
|
elif name == "快手推荐流":
|
|
|
sheet = "9Ii8lw"
|
|
|
+ elif name == "视频号推荐流":
|
|
|
+ sheet = "hMBv7T"
|
|
|
Feishu.insert_columns("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "ROWS", 1, 2)
|
|
|
time.sleep(0.5)
|
|
|
Feishu.update_values("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "A2:Z2", values)
|
|
@@ -457,6 +460,8 @@ class VideoProcessor:
|
|
|
return SphKeyword.get_key_word(url, task_mark, mark, channel_id, name)
|
|
|
elif channel_id == '快手推荐流':
|
|
|
return KSFeed.get_feed_date()
|
|
|
+ elif channel_id == '视频号推荐流':
|
|
|
+ return SPHFeed.get_feed_date()
|
|
|
|
|
|
|
|
|
@classmethod
|