|
@@ -0,0 +1,22 @@
|
|
|
+# -*- coding: utf-8 -*-
|
|
|
+
|
|
|
+import os
|
|
|
+import sys
|
|
|
+
|
|
|
+from zhufushenghuo.zhufushenghuo_recommend.zfsh_recommend import ZfshRecommend
|
|
|
+
|
|
|
+sys.path.append(os.getcwd())
|
|
|
+from common.common import Common
|
|
|
+
|
|
|
+
|
|
|
+def kanyikan_main(log_type, crawler, env):
|
|
|
+ Common.logger(log_type, crawler).info(f'开始抓取:看一看推荐\n')
|
|
|
+ ZfshRecommend.get_videoList(log_type=log_type,
|
|
|
+ crawler=crawler,
|
|
|
+ rule_dict={},
|
|
|
+ our_uid=6267140,
|
|
|
+ env=env)
|
|
|
+
|
|
|
+
|
|
|
+if __name__ == "__main__":
|
|
|
+ kanyikan_main(log_type="recommend", crawler="zhufushenghuo", env="dev")
|