vladkens / twscrape

2024! X / 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
1.13k stars 132 forks source link

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

Closed swetharamesh1998 closed 7 months ago

andylolz commented 7 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 7 months ago

@swetharamesh1998 did this help? ^^

swetharamesh1998 commented 7 months ago

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

vladkens commented 7 months ago

@swetharamesh1998

From readme

twscrape del_accounts acc1 acc2
twscrape delete_inactive