title: How to get tweets between two specific dates?
body: <p>i want to get tweets b/w two specific dates.what i need to add in this code? i made this crawaler to scrape the tweets and now i want tweets just b/w two dates</p>
  
  <pre><code>import csv
  
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  
  
  
  ####################################################
  browser=webdriver.Chrome()
  base_url1=u"https://twitter.com/search?q="
  query1=u"23gaming&amp;src=typd" 
  url1=base_url1 + query1
  browser.get(url1)
  body1=browser.find_element_by_tag_name('body')
  csvfile=open("gaming file.csv" , 'wt' , newline='')
  writer=csv.writer(csvfile)
  
  for _ in range(10):
      body1.send_keys(Keys.PAGE_DOWN)
  
  tweets=browser.find_elements_by_class_name('content')
  for tweet in tweets:
      cswRow=[]
      print(tweet.text)
      cswRow.append(tweet.text.encode('utf-8'))
      writer.writerow(cswRow)
  </code></pre>