AttributeError Traceback (most recent call last)
<ipython-input-9-4152b890358f> in <module>
20 t = []
21
---> 22 for tweet in tweepy.Cursor(api.search,q=search_key,count=1000,lang="id",since="2022-11-10",until="2022-11-20").items():
23 print(tweet.created_at,tweet.id,tweet.user.name,tweet.text)
24 c.append(tweet.created_at)
Fian_1
0
Newbie Poster
Recommended Answers
Jump to PostI can't find api.search in the documentation. Care to tell where I should look for this?
All 4 Replies
rproffitt
2,565
"Nothing to see here."
Moderator
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
rproffitt
2,565
"Nothing to see here."
Moderator
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.