diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -129,6 +129,7 @@ func fetch(id, token string) ([]Tweet, error) { startTime := time.Now().UTC().Add(-24 * time.Hour).Format(time.RFC3339) q.Set("start_time", startTime) q.Set("tweet.fields", "created_at,text") + q.Set("exclude", "replies") u.RawQuery = q.Encode() req, err := http.NewRequest("GET", u.String(), nil) @@ -168,8 +169,8 @@ func main() { output := flag.String("o", ".", "Directory where RSS files will be dropped") flag.Parse() - // This, of course, cursed in unholy ways, as path sanitization shenanigans - // have proved since the existence of the concept of a path in operating + // This is cursed in unholy ways, as path sanitization shenanigans have + // proved since the existence of the concept of a path in operating // systems. That being said, I'm the sole user of this, so whatever... if *output != "." { if err := os.MkdirAll(*output, 0755); err != nil { |
