|
@@ -13,7 +13,14 @@ def proc_file(fname,fname2):
|
|
|
if '</script>' in l:
|
|
|
fw.write("\n")
|
|
|
fw.write("jared...")
|
|
|
- print(lines)
|
|
|
+ fw.write("function forum(){ \n")
|
|
|
+ fw.write("var r8= document.getElementById('row_choz8'); \n")
|
|
|
+ fw.write("var r9 = document.getElementById('row_choz9'); \n")
|
|
|
+ fw.write(' r8.style.display="none"; \n')
|
|
|
+ fw.write(' r9.style.display = "block"; \n')
|
|
|
+ fw.write("} \n")
|
|
|
+#
|
|
|
+# print(lines)
|
|
|
fr.close()
|
|
|
fw.close()
|
|
|
|
|
@@ -29,7 +36,7 @@ for c in cursor:
|
|
|
os.mkdir(curdir)
|
|
|
os.chdir(curdir)
|
|
|
os.system('curl https://hhh.com.tw/designers/cases/'+str(did)+'/1-page/new-sort/ -o orig.html')
|
|
|
- proc_file(curdir+"/orig.html")
|
|
|
+ proc_file(curdir+"/orig.html",curdir+"/index.html")
|
|
|
break
|
|
|
|
|
|
|