n0madic / twitter-scraper

Scrape the Twitter frontend API without authentication with Golang.
MIT License
899 stars 187 forks source link

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

Open ghost opened 11 months ago

ghost commented 11 months ago
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