MegaTronX commited on
Commit
0c1764c
·
verified ·
1 Parent(s): 700c696

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
 
3
  def get_web_page_data(url):
4
- # your function implementation here
 
 
5
 
6
  def copy_to_clipboard(text):
7
  import pyperclip
 
1
  import gradio as gr
2
 
3
  def get_web_page_data(url):
4
+ response = requests.get(url)
5
+ parser = HTMLParser(html=response.text)
6
+ return parser.html
7
 
8
  def copy_to_clipboard(text):
9
  import pyperclip