🏯 Tweet Scraper V2 - X / Twitter Scraper avatar
🏯 Tweet Scraper V2 - X / Twitter Scraper

Pricing

from $0.40 / 1,000 tweets

Go to Store
🏯 Tweet Scraper V2 - X / Twitter Scraper

🏯 Tweet Scraper V2 - X / Twitter Scraper

Developed by

API Dojo

API Dojo

Maintained by Community

⚡️ Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.40 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!

3.7 (81)

Pricing

from $0.40 / 1,000 tweets

776

Total users

19K

Monthly users

2.6K

Runs succeeded

>99%

Issues response

4.1 hours

Last modified

an hour ago

SY

ApifyClientAsync - Streaming Data

Closed

synapseai opened this issue
a year ago

I am having trouble getting streams of data - I can stream logs but data doesn't seem to stream.

Code Below: print("Starting actor...") run = await apify_client_async.actor('apidojo/tweet-scraper').start(run_input={"searchTerms": ["Elon"], "maxItems": 1000}) print(f"Actor started, run ID: {run['id']}")

async with apify_client_async.run(run['id']).dataset().stream_items(item_format="json", limit=1000) as response:
print("Streaming data...")
async for chunk in response.aiter_text():
if chunk:
print(f"Received chunk: {chunk}")
else:
print("Received empty chunk.")
print("Completed streaming.")
SY

synapseai

a year ago

Starting actor... Actor started, run ID: HuWrQFJU3pansqC4m Streaming data... Received chunk: [] Completed streaming.

apidojo avatar

Hey hey,

Seems like you are having an issue with the Apify Client for Python. Unfortunately we don't have much context on that. The best way should be to contact Apify support or ask it in the corresponding Discord channel.

Best!