Skip to content

'cursor' object is not iterable #94

Description

@haddyadnan
107 
108         #page attribute in tweepy.cursor and iteration
109         for page in tweepy.Cursor(self.api.search, q=keyword,count=200, include_rts=False):

line 109 raised the error and it can be fixed with
for page in tweepy.Cursor(self.api.search, q=keyword,count=200, include_rts=False).pages():

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions