flatindo commited on
Commit
68d00ca
·
1 Parent(s): 631cdaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def web_scrape(url):
15
  wd.set_window_size(1080, 720) # Adjust the window size here
16
  wd.get(url)
17
  wd.implicitly_wait(10)
18
- meta_element = wd.page_source
19
  #content_value = meta_element.get_attribute("name")
20
 
21
  return meta_element
 
15
  wd.set_window_size(1080, 720) # Adjust the window size here
16
  wd.get(url)
17
  wd.implicitly_wait(10)
18
+ meta_element = wd.title.replace("Stock Photo | Adobe Stock", "").strip()
19
  #content_value = meta_element.get_attribute("name")
20
 
21
  return meta_element