kopia lustrzana https://github.com/muesli/mastotool
Add time and URL to search output.
rodzic
8adb027f55
commit
3712bcbb28
|
@ -49,6 +49,7 @@ func search(token string) error {
|
|||
for _, s := range statuses {
|
||||
if strings.Contains(strings.ToLower(cleanupContent(s.Content)), token) {
|
||||
fmt.Println("\nFound toot:", cleanupContent(s.Content))
|
||||
fmt.Println("Date: ", s.CreatedAt, ", URL: ", s.URL)
|
||||
fmt.Println()
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue