noodles %!s(int64=3) %!d(string=hai) anos
pai
achega
8f480cf74d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)