tstor/daemons/kemono/daemon_test.go

23 lines
377 B
Go
Raw Normal View History

2024-11-24 17:32:26 +00:00
package kemono_test
import (
"context"
"fmt"
"testing"
"git.kmsign.ru/royalcat/tstor/daemons/kemono"
)
func TestScrapCreator(t *testing.T) {
k := kemono.NewKemono("https://coomer.su/")
ctx := context.Background()
posts, err := k.FetchPosts(ctx, "onlyfans", "bigtittygothegg")
if err != nil {
t.Fatal(err)
}
for _, post := range posts {
fmt.Println(post)
}
}