|
@@ -1,9 +1,9 @@
|
|
|
from _clickjob0113 import *
|
|
|
|
|
|
hhhdb = dataset.connect('mysql://choozmo:pAssw0rd@db.ptt.cx:3306/seo?charset=utf8mb4')
|
|
|
-#ds=hhhdb.query('select * from hhh.hhh_designer_for_crawl')
|
|
|
+ds=hhhdb.query('select * from hhh.hhh_designer_for_crawl')
|
|
|
#TAG ABOVE AND UNTAG BELOW FOR DEBUG
|
|
|
-ds=hhhdb.query('select * from hhh.hhh_designer_for_crawl where hdesigner_id=767')
|
|
|
+#ds=hhhdb.query('select * from hhh.hhh_designer_for_crawl where hdesigner_id=XXX')
|
|
|
data=[]
|
|
|
for i in ds:
|
|
|
for j in range(i['weight']):
|