Remove deprecated functions

Removed global default scraper
This commit is contained in:
Alexander Sheiko 2023-05-11 14:15:56 +03:00
parent 3eb86161ce
commit 66780eb801
5 changed files with 0 additions and 56 deletions

View file

@ -75,11 +75,6 @@ func (s *Scraper) GetProfile(username string) (Profile, error) {
return parseProfile(jsn.Data.User.Legacy), nil
}
// Deprecated: GetProfile wrapper for default scraper
func GetProfile(username string) (Profile, error) {
return defaultScraper.GetProfile(username)
}
// GetUserIDByScreenName from API
func (s *Scraper) GetUserIDByScreenName(screenName string) (string, error) {
id, ok := cacheIDs.Load(screenName)