tstor/daemons/kemono/daemon_test.go
royalcat 585f317478
Some checks failed
docker / build-docker (push) Failing after 34s
daemons separation
2024-11-24 20:32:26 +03:00

22 lines
377 B
Go

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)
}
}