title: How I get tweet's date-time from Twitter with Selenium with class name
body: <p>I am trying to scrape Twitter content with Selenium but I have issues about date time. </p>
  
  <p>This is what I tried. I can get a text with this but date_span stays None and I get "'NoneType' object is not callable" error.</p>
  
  <pre><code>for li in soup.find_all("li", class_='js-stream-item'):
  
      text_p = li.find("p", class_="tweet-text")
      if text_p is not None:
          tweet['text'] = text_p.get_text()
  
          date_span = li.find("a", class_="tweet-timestamp js-permalink js-nav js-tooltip")
          tweet['created_at'] = date_span.get_attribute('title')
  </code></pre>
  
  <pre><code>&lt;small class="time"&gt;
    &lt;a href="/crypto2bigbang/status/1114844247700586496" 
  class="tweet-timestamp js-permalink js-nav js-tooltip" 
  title="3:55 AM - 7 Apr 2019" data-conversation-id="1114844247700586496"&gt;
  &lt;span class="_timestamp js-short-timestamp js-relative-timestamp" data-time="1554634556" data-time-ms="1554634556000" 
  data-long-form="true" aria-hidden="true"&gt;2m&lt;/span&gt;
  &lt;span class="u-hiddenVisually" data-aria-label-part="last"&gt;2 minutes ago&lt;/span&gt;&lt;/a&gt;
  &lt;/small&gt;
  
  </code></pre>
  
  <p>I want to get date time like  "3:55 AM - 7 Apr 2019" which is in "title".</p>
  
  <p>This is my first question here. I hope it is proper :)</p>