question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Persistently store scraped tweets

See original GitHub issue

As discussed in #16, the current storage of scraped tweets is not optimal, because the newly scraped tweets will just be appended to the existing tweets.txt-file, creating a lot of duplicates. Integrating a database is probably not necessary at this point, we could store the scraped tweets with their ID in a json-file and only add new ones in the run of the application.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
sahal-mulkicommented, Feb 28, 2022

I am working on a fix for duplicate tweets.

0reactions
sahal-mulkicommented, Mar 2, 2022

Sure-a-mundo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scraping 50 Million Tweets for $5 in 5 hours - Medium
Scraping 50 Million Tweets for $5 in 5 hours. This will be an extensive guide explaining not only how to scrape targeted twitter...
Read more >
How to Scrape Tweets From Twitter | by Martin Beck
This tutorial is meant to be a quick straightforward introduction to scraping tweets from Twitter in Python using Tweepy's Twitter API or ...
Read more >
Scraping your twitter home timeline with python and mongodb
The first time we run this script, it will scrape from the newest tweet back as far in our timeline as it can...
Read more >
Authentication - Regenerate API keys and tokens
Your API keys and tokens should be guarded very carefully. These credentials are directly tied to your developer App and those Twitter account...
Read more >
How to scrape Twitter data | Apify Blog
Step 1. Find Twitter Scraper on Apify Store · Step 2. Choose the data you want to scrape · Step 3. Run the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found