jared 3 년 전
부모
커밋
c4eed8bd57
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      swire_shop_item_list.py

+ 1 - 0
swire_shop_item_list.py

@@ -237,6 +237,7 @@ def main():
                 process_web_request(driver,area_num,keyword)
 #            table2.upsert({'kw':keyword,'num':job['num']},['kw'])
             table2.insert({'kw':keyword,'num':job['num']},['kw'])
+            db.query('update areacodes set expand = 1 where num="'+str(job['num'])+'" and kw="'+keyword+'" ')
 
         except:
             traceback.print_exc()