Deprecate default scraper
This commit is contained in:
parent
6bf6dc4b69
commit
bfb4020597
9 changed files with 29 additions and 42 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue