wira.indra commited on
Commit
8cad016
1 Parent(s): 28c232f

add twitter feature

Browse files
Files changed (1) hide show
  1. twitter_scraper.py +1 -0
twitter_scraper.py CHANGED
@@ -2,6 +2,7 @@ import snscrape.modules.twitter as sntwitter
2
  import pandas as pd
3
  import re
4
  import tqdm
 
5
 
6
 
7
  def scrape_tweets(query, max_tweets=10, output_path="./scraper/output/" ):
 
2
  import pandas as pd
3
  import re
4
  import tqdm
5
+ import sys
6
 
7
 
8
  def scrape_tweets(query, max_tweets=10, output_path="./scraper/output/" ):