Altimis / Scweet

A simple and unlimited twitter scraper : scrape tweets, likes, retweets, following, followers, user info, images...
MIT License
1.07k stars 226 forks source link

data = scrap(words=" "......) #89

Open sspchunduri opened 3 years ago

sspchunduri commented 3 years ago

This function always says:

scroll 1 scroll 2 scroll 3

and then an empty output file gets created.

it never works even in headless = False.

Help needed with this issue.

Altimis commented 3 years ago

I just tested it and it works. Show me the params that you have set to the function scrape

sspchunduri commented 3 years ago

data = scrap(words="finance",since="2021-09-14", until="2021-09-16", from_account=None, interval=1, headless=False, display_type="Top",save_images=False, resume=False, filter_replies=True, proximity=True)

sspchunduri commented 3 years ago

I even set up my .env file also. I have everything exactly the way you did it. idk what's wrong.

Can you help me out on how you set it up

Altimis commented 3 years ago

Can you set the proximity parameter as False ? maybe there are no tweets with this word near you ( i know its unlikely but you can try this possibility)

Altimis commented 3 years ago

You can set display_type parameter with "latest" if you want to show all tweets and not only the top ones

sspchunduri commented 3 years ago

I tried setting to latest and it's scrolling infinitely. I changed the code to what you suggested but it's still not working for me. I don't know what the issue is.