|
@@ -0,0 +1,23 @@
|
|
|
+"""
|
|
|
+@author: luojunhui
|
|
|
+"""
|
|
|
+from datetime import datetime, timedelta
|
|
|
+from tqdm import tqdm
|
|
|
+
|
|
|
+from applications import WeixinSpider, PQMySQL
|
|
|
+
|
|
|
+
|
|
|
+db_client = PQMySQL()
|
|
|
+spider = WeixinSpider()
|
|
|
+
|
|
|
+
|
|
|
+def main():
|
|
|
+ """
|
|
|
+ 入口函数
|
|
|
+ :return:
|
|
|
+ """
|
|
|
+ select_sql = f"""
|
|
|
+ SELECT accountName, ghId, ContentUrl
|
|
|
+ FROM official_articles_v2
|
|
|
+ WHERE publish_timestamp > ''
|
|
|
+ """
|