Outputs
Command Line Outputs
Scraping is run in batches
.
After each batch has run, the command line will output the number of retrieved tweets in that batch
(max 110), then a tallied total in brackets.
Ordinarily, the total is what you would be interested in.
Once the scrape is concluded, the command line will output [๐ธ/twitter-scraper]: Search completed.
[๐ธ/twitter-scraper]: Terminating.
WARNING
If console outputs [๐ธ/tscrape]: Error 404 - No tweets found.
the quota has likely been maxed out
File Outputs
All the scraped tweets will be out put in a JSON file, named tweets-[id].json
E.g tweets-1686668275417.json
Each tweet object will contain:
- The date/time of the tweet
- Tweet edit history ids
- The tweet id,
- the content/text of the tweet
E.g
javascript
{
"created_at": "2023-06-13T14:54:16.000Z",
"edit_history_tweet_ids": ["1668632887586062342"],
"id": "1668632887586062342",
"text": "@nyxiesnook @bloggernation @LifestyleBlogzz I'm returning all comments on my latest post: https://t.co/CYSxiGzbtb ๐งก"
}
1
2
3
4
5
6
2
3
4
5
6