@@ -19,7 +19,7 @@ Some of the benefits of using Tweep vs Twitter API:
...
@@ -19,7 +19,7 @@ Some of the benefits of using Tweep vs Twitter API:
## Usage
## Usage
-`-u` The user's Tweets you want to scrape.
-`-u` The user's Tweets you want to scrape.
-`-s` Search for Tweets containing this word or phrase.
-`-s` Search for Tweets containing this word or phrase.
-`-g` Retrieve tweets by geolocation. Format of the argument is lat,lon,range(km or mi) . ex : 48.01009,36.09876,0.5km
-`-g` Retrieve tweets by geolocation. Format of the argument is lat,lon,range(km or mi).
-`-o` Save output to a file.
-`-o` Save output to a file.
-`--year` Filter Tweets before the specified year.
-`--year` Filter Tweets before the specified year.
-`--fruit` Display Tweets with "low-hanging-fruit".
-`--fruit` Display Tweets with "low-hanging-fruit".
...
@@ -52,9 +52,7 @@ A few simple examples to help you understand the basics:
...
@@ -52,9 +52,7 @@ A few simple examples to help you understand the basics:
-`python3 tweep.py -u username -o file.csv --csv` - Scrape Tweets and save as a csv file.
-`python3 tweep.py -u username -o file.csv --csv` - Scrape Tweets and save as a csv file.
-`python3 tweep.py -u username --fruit` - Show Tweets with low-hanging fruit.
-`python3 tweep.py -u username --fruit` - Show Tweets with low-hanging fruit.
-`python3 tweep.py -s "Donald Trump" --verified --users` - List verified users that Tweet about Donald Trump.
-`python3 tweep.py -s "Donald Trump" --verified --users` - List verified users that Tweet about Donald Trump.
-`python3 tweep.py -g "48.880048,2.385939,1km" -o file.csv --csv` - Scrape Tweets from a radius of 1km around a place in Paris and export them to a csv file.
-`python3 tweep.py -g="48.880048,2.385939,1km" -o file.csv --csv` - Scrape Tweets from a radius of 1km around a place in Paris and export them to a csv file.
**Tip:** To avoid an arguement error, wrap your arguments in quotes.
## Example String
## Example String
`955511208597184512 2018-01-22 18:43:19 GMT <now> pineapples are the best fruit`
`955511208597184512 2018-01-22 18:43:19 GMT <now> pineapples are the best fruit`