Remove deprecated functions
Removed global default scraper
This commit is contained in:
parent
3eb86161ce
commit
66780eb801
5 changed files with 0 additions and 56 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue