{"id":20052580,"url":"https://github.com/devniel/antibots","last_synced_at":"2025-03-02T08:44:33.220Z","repository":{"id":248077780,"uuid":"827690595","full_name":"devniel/antibots","owner":"devniel","description":"For personal usage, remove bots from your twitter followers.","archived":false,"fork":false,"pushed_at":"2024-07-12T07:25:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T21:09:49.379Z","etag":null,"topics":["antibot","follower","playwright","python","twitter"],"latest_commit_sha":null,"homepage":"https://x.com/devniel/status/1811664051673465288","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devniel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-12T07:11:22.000Z","updated_at":"2024-07-12T07:37:49.000Z","dependencies_parsed_at":"2024-07-12T08:45:26.638Z","dependency_job_id":"57b6481d-46a2-41bd-bd36-7d0181671052","html_url":"https://github.com/devniel/antibots","commit_stats":null,"previous_names":["devniel/antibots"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devniel%2Fantibots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devniel%2Fantibots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devniel%2Fantibots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devniel%2Fantibots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devniel","download_url":"https://codeload.github.com/devniel/antibots/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241482061,"owners_count":19969847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antibot","follower","playwright","python","twitter"],"created_at":"2024-11-13T12:18:24.308Z","updated_at":"2025-03-02T08:44:33.197Z","avatar_url":"https://github.com/devniel.png","language":"Python","readme":"# Remove bots from my twitter\n\n### 🚀 How to run it?\n\nClose all your Google Chrome windows and start it using debug mode, on MacOS is:\n\n```sh\n/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --remote-debugging-port=9222\n```\n\nInstall the project dependencies\n\n```sh\npip install -r requirements.txt\n```\n\nRun the script\n```sh\npython main.py\n```\n\n\n### 📝 Notes\n\n- It will remove as follower all followers with 0 posts.\n- The initial version included a template to send screenshot of users to OpenAI, but it's too complex to do such approach at the moment.\n- There are rate limits in X.com; specially when getting the `posts` ui/data, after using the script you will that on your main profile there will be an issue loading the `posts` because of this rate limit.\n- We don't rely anymore in the `posts` ui area, as in the header there is already the total posts a user have, cool!.\n\n### 😎 Learnings\n\n- First time using playwright with python.\n- Sending screenshot of user to OpenAI.\n- Some scraping of user profile.\n- The connection to a common Chrome app (in debug mode) using `connect_over_cdp`, this is useful as it allows reusing our current \"active\" (after restarting it with `--remote-debugging-port`) chrome session. I already did it before with Robot Framework.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevniel%2Fantibots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevniel%2Fantibots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevniel%2Fantibots/lists"}