flatindo commited on
Commit
0184583
·
1 Parent(s): 453a236

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
- page_content = wd.find_element_by_name("meta")
19
  content_value = page_content.get_attribute("content")
20
 
21
  return content_value
 
15
  wd.set_window_size(1080, 720) # Adjust the window size here
16
  wd.get(url)
17
  wd.implicitly_wait(10)
18
+ page_content = wd.find_element_by_tag_name("meta")
19
  content_value = page_content.get_attribute("content")
20
 
21
  return content_value