Selaa lähdekoodia

cut log with delimiters

David 9 vuotta sitten
vanhempi
commit
6a7d1fda2a
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      tati.py

+ 3 - 3
tati.py

@@ -29,7 +29,7 @@ def despegar():
     driver = setup_driver()
     WEB = 'https://www.despegar.com.ar/shop/flights/results/roundtrip/BUE/SCL/2017-12-15/2018-01-17/2/0/0?from=SB'
     driver.get(WEB)
-    time.sleep(5)
+    time.sleep(10)
     css = ".fare-price .amount.price-amount"
     prices = driver.find_elements_by_css_selector(css)
     ret = set()
@@ -43,7 +43,7 @@ def almundo():
     driver = setup_driver()
     WEB = 'https://almundo.com.ar/flights/results?from=BUE,SCL&to=SCL,BUE&date=2017-12-15,2018-01-17&adults=2#stops=0'
     driver.get(WEB)
-    time.sleep(5)
+    time.sleep(10)
     css = ".bigger"
     prices = driver.find_elements_by_css_selector(css)
     ret = set()
@@ -90,4 +90,4 @@ if __name__ == '__main__':
     while not q.empty():
         out.update(q.get())
     print(out)
-    print("$$$$")
+    print("====")