Your Name преди 4 години
родител
ревизия
7a7bdfeb45
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      faq/faq_gen.py

+ 2 - 1
faq/faq_gen.py

@@ -12,4 +12,5 @@ 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/5926/ > index.html')
+    os.system('curl https://hhh.com.tw/columns/detail/'+l+'/ > index.html')
+