fix tests

This commit is contained in:
Valentine 2024-02-20 23:27:22 +03:00
parent 6a5df36aed
commit cc633cb1ea
6 changed files with 214 additions and 138 deletions

7
api.go
View file

@ -105,3 +105,10 @@ func (s *Scraper) GetGuestToken() error {
return nil
}
func (s *Scraper) ClearGuestToken() error {
s.guestToken = ""
s.guestCreatedAt = time.Time{}
return nil
}