noodles 3 년 전
부모
커밋
8f480cf74d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      run.py

+ 1 - 1
run.py

@@ -391,7 +391,7 @@ def main():
         for key, row in url_list.iterrows():
             name = row['name']
             item_url = row['item_url']
-            result = DA.mysql_select_data(db, 'select item_url from shop_list where item_url="{}"'.format(url_list.iloc[1].item_url))
+            result = DA.mysql_select_data(db, 'select item_url from shop_list where item_url="{}"'.format(item_url))
             if len(result) != 0: continue
             print(key, name, ': ' ,item_url)