Scweet icon indicating copy to clipboard operation
Scweet copied to clipboard

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

Open sspchunduri opened this issue 2 years ago • 6 comments

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.

sspchunduri avatar Sep 17 '21 13:09 sspchunduri

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

Altimis avatar Sep 17 '21 13:09 Altimis

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 avatar Sep 17 '21 13:09 sspchunduri

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

sspchunduri avatar Sep 17 '21 13:09 sspchunduri

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 avatar Sep 17 '21 14:09 Altimis

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

Altimis avatar Sep 17 '21 14:09 Altimis

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.

sspchunduri avatar Sep 17 '21 15:09 sspchunduri