title: how can i set limit of query tweepy?
body: <pre><code>import tweepy
  
  CONSUMER_KEY = ''
  CONSUMER_SECRET = ''
  ACCESS_KEY = ''
  ACCESS_SECRET = ''
  
  auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
  auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
  api = tweepy.API(auth,wait_on_rate_limit=False)
  
      user = api.me()
      print(user.name)
  
      def main():
          search = ('asas','aadfsdfds',...)
          numberofTweets = 1000
          x = 0
          for tweet in tweepy.Cursor(api.search, search).items(numberofTweets):
              print(x)
              x +=1
              try:
                  tweet.retweet()
                  tweet.favorite()
                  print("tweet retweeted.")
              except tweepy.TweepError as e:
                  print(e.reason)
              except StopIteration:
                  break
  </code></pre>
  
  <p>I set the number of tweet 1000, but it stops. 37. (check with x variable.)</p>
  
  <p>How can I increase this limit? 
  Why it ignores 1000?</p>