This commit is contained in:
2022-01-07 18:07:25 -08:00
parent a9590c0dce
commit bab7810cd3
22 changed files with 114606 additions and 1 deletions

17
tweetbackup/go/main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"encoding/json"
"fmt"
twitterscraper "github.com/n0madic/twitter-scraper"
)
func main() {
profile, err := twitterscraper.GetProfile("jack")
if err != nil {
panic(err)
}
prettyJSON, err := json.MarshalIndent(profile, "", " ")
fmt.Printf("%s\n", string(prettyJSON))
}