Your Name il y a 3 ans
Parent
commit
d3bb3ffec2
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 2 1
      faq/faq_gen.py
  2. 1 1
      faq/faq_static.py

+ 2 - 1
faq/faq_gen.py

@@ -13,5 +13,6 @@ for l in lst:
     if not os.path.exists(curdir):
         os.mkdir(curdir)
     os.chdir(curdir)
-    os.system('curl https://hhh.com.tw/columns/detail/'+l+'/ > index.html')
+#    os.system('curl https://hhh.com.tw/columns/detail/'+l+'/ > index.html')
+    os.system('curl https://hhh.com.tw/orig_column/'+l+'/ > index.html')
 

+ 1 - 1
faq/faq_static.py

@@ -6,7 +6,7 @@ import dataset
 db = dataset.connect('mysql://hhh7796hhh:lYmWsu^ujcA1@hhh-v57-cluster.cluster-cmab1ctkglka.ap-northeast-2.rds.amazonaws.com:3306/xoops?charset=utf8mb4')
 
 #lst=['5926','5878','5912','5939','5885','4300','1042','3559']
-lst=['3559']
+#lst=['3559']
 
 #lst=['5926','5878','5912','5939','5885','4300','1042']