twitter-scraper icon indicating copy to clipboard operation
twitter-scraper copied to clipboard

response status 429 Too Many Requests: {"code":88,"message":"Rate limit exceeded."}

Open ghost opened this issue 1 year ago • 0 comments

package twitter_scraper

import (
        "log"
	twitterscraper "github.com/n0madic/twitter-scraper"
)

var Scraper *twitterscraper.Scraper

func InitTwitterScraper() error {
	Scraper = twitterscraper.New()
	err := Scraper.Login("username_xxxx", "password_xxx")
	if err != nil {
		log.Println("InitTwitterScraper err:", err)
		return err
	}
	return nil
}

It always return err when I call 'Login'. I have tried to change the account and ip, but the rate limit is still returned

ghost avatar Nov 30 '23 00:11 ghost