naufalnashif commited on
Commit
1c6a22b
·
1 Parent(s): cf90985

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,9 +62,9 @@ def scrape_klikindomaret(nama_barang, num_items):
62
  my_bar.progress(prop, text=progress_text)
63
  time.sleep(1)
64
  my_bar.empty()
65
- if len (products) > num_items :
66
- products = products[:num_items]
67
- break
68
  page += 1
69
 
70
  return products
 
62
  my_bar.progress(prop, text=progress_text)
63
  time.sleep(1)
64
  my_bar.empty()
65
+ if len (products) > num_items :
66
+ products = products[:num_items]
67
+ break
68
  page += 1
69
 
70
  return products