vladkens / twscrape

2024! Twitter API scrapper with authorization support. Allows you to scrape search results, User's profiles (followers/following), Tweets (favoriters/retweeters) and more.
https://pypi.org/project/twscrape/
MIT License
784 stars 102 forks source link

Is there a way to remove an account added to the pool? #154

Closed swetharamesh1998 closed 2 months ago

andylolz commented 2 months ago

There is.

If you’re using the CLI, you can use:

$ twscrape del_accounts username

If you’re using the API, you can use:

from twscrape import API

api = API()
await api.pool.delete_accounts("username")
andylolz commented 2 months ago

@swetharamesh1998 did this help? ^^

swetharamesh1998 commented 2 months ago

Not really, I'm still getting an error Failed to login to @account : 'ct0'

vladkens commented 2 months ago

@swetharamesh1998

From readme

twscrape del_accounts acc1 acc2
twscrape delete_inactive