sintamar commited on
Commit
bfcf1e8
·
verified ·
1 Parent(s): cfac583

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -30,7 +30,10 @@ def visualize(url):
30
  #st.subheader("Website title:")
31
  if xtarget_dropdown:
32
  st.code(xtarget_dropdown, language='html')
33
-
 
 
 
34
  else:
35
  st.warning("tidak ditemukan.")
36
 
@@ -82,7 +85,7 @@ def take_webdata(url):
82
  if wd:
83
  wd.quit()
84
 
85
- return html ,target_dropdown, urlx
86
 
87
  if __name__ == "__main__":
88
  main()
 
30
  #st.subheader("Website title:")
31
  if xtarget_dropdown:
32
  st.code(xtarget_dropdown, language='html')
33
+ if xurl:
34
+ st.code(xurl, language='html')
35
+ else:
36
+ st.warning("tidak ditemukan.")
37
  else:
38
  st.warning("tidak ditemukan.")
39
 
 
85
  if wd:
86
  wd.quit()
87
 
88
+ return html ,target_dropdown, links
89
 
90
  if __name__ == "__main__":
91
  main()