nlpblogs commited on
Commit
99a27b5
·
verified ·
1 Parent(s): bacc29e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ if st.button("Sentiment Analysis", type="secondary"):
126
  wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, "#contents #contents")))
127
  comments = driver.find_elements(By.CSS_SELECTOR, "#content #content-text")
128
  timestamp1 = driver.find_element(By.CSS_SELECTOR,'div.author-info time')
129
- timestamp = timestamp1.get_attribute('datetime'))
130
  user_id = 1
131
  for comment in comments:
132
 
 
126
  wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, "#contents #contents")))
127
  comments = driver.find_elements(By.CSS_SELECTOR, "#content #content-text")
128
  timestamp1 = driver.find_element(By.CSS_SELECTOR,'div.author-info time')
129
+ timestamp = timestamp1.get_attribute('datetime')
130
  user_id = 1
131
  for comment in comments:
132