|
@@ -1,3 +1,5 @@
|
|
|
+import sys
|
|
|
+
|
|
|
from utils.feishu import FeiShuHelper
|
|
|
from db_helper import MysqlHelper
|
|
|
from config import set_config
|
|
@@ -43,4 +45,6 @@ def add_words2mysql(sheet_name, source):
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
- add_words2mysql(sheet_name='微信指数搜索常用词样本-人工标注站内高频关键词', source=1)
|
|
|
+ # add_words2mysql(sheet_name='微信指数搜索常用词样本-人工标注站内高频关键词', source=1)
|
|
|
+ sheet_name, source = sys.argv[1], sys.argv[2]
|
|
|
+ add_words2mysql(sheet_name, source)
|