|
@@ -9,7 +9,6 @@ import shutil
|
|
import sys
|
|
import sys
|
|
import time
|
|
import time
|
|
from hashlib import md5
|
|
from hashlib import md5
|
|
-
|
|
|
|
import requests
|
|
import requests
|
|
import urllib3
|
|
import urllib3
|
|
sys.path.append(os.getcwd())
|
|
sys.path.append(os.getcwd())
|
|
@@ -18,7 +17,6 @@ from common.feishu import Feishu
|
|
from common.publish import Publish
|
|
from common.publish import Publish
|
|
from common.scheduling_db import MysqlHelper
|
|
from common.scheduling_db import MysqlHelper
|
|
from common.public import get_config_from_mysql, download_rule
|
|
from common.public import get_config_from_mysql, download_rule
|
|
-
|
|
|
|
proxies = {"http": None, "https": None}
|
|
proxies = {"http": None, "https": None}
|
|
|
|
|
|
|
|
|
|
@@ -576,8 +574,5 @@ class XiaoniangaoHourScheduling:
|
|
|
|
|
|
if __name__ == "__main__":
|
|
if __name__ == "__main__":
|
|
print(get_config_from_mysql(log_type='hour', source='xiaoniangao', env='dev', text='filter'))
|
|
print(get_config_from_mysql(log_type='hour', source='xiaoniangao', env='dev', text='filter'))
|
|
- # print(XiaoniangaoHour.get_uid_token())
|
|
|
|
- # XiaoniangaoHour.get_videoList("test", "xiaoniangao", "dev")
|
|
|
|
- # XiaoniangaoHour.update_videoList("test", "xiaoniangao", "小时榜爬虫策略", "out", "dev")
|
|
|
|
|
|
|
|
pass
|
|
pass
|