Deprecate default scraper

This commit is contained in:
Alexander Sheiko 2022-05-04 11:55:12 +03:00
parent 6bf6dc4b69
commit bfb4020597
9 changed files with 29 additions and 42 deletions

View file

@ -75,7 +75,7 @@ func (s *Scraper) GetProfile(username string) (Profile, error) {
return parseProfile(jsn.Data.User.Legacy), nil
}
// GetProfile wrapper for default scraper
// Deprecated: GetProfile wrapper for default scraper
func GetProfile(username string) (Profile, error) {
return defaultScraper.GetProfile(username)
}