GithubHelp home page GithubHelp logo

banparty's Introduction

Update: This will no longer work after the recent API changes. Archiving

BanParty

BanParty is a follow on project to my Unliked script. It's a series of scripts using the Python Twitter library and written in Python 2.7. The scripts are as follows:

auth.py: Used to generate auth ID tokens to add to your creds.py file.

count.py: Create a csv called allbanids.csv containing the User ID of every Twitter user you block. This is subject to rate limiting and so you'll see it working in batches and then pausing for a while until the rate limit block ends.

load.py: Add the User ID of every Twitter handle in banlist.csv, as well as the User ID of every one of their followers, to banids.csv.

block.py: Go through banids.csv and block every single entry. Now includes protection to prevent it from blocking someone you follow. Stores already blocked ids in alreadyblocked.csv to prevent duplicating work.

culllist.py: This removes every entry from allbanids.csv and alreadyblocked.csv from the banids.csv file, as well as removing dupliactes. It also removes the user ids of any handle in safe.csv (used to prevent blocking accounts you don't follow).

These scripts use a LOT of memory (hundreds of MB or even GB).

As GitHub has a 100MB file limit, I've put my copies of the CSV files here: https://banparty.circlelinego.com

banparty's People

Contributors

adanufgail avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

botpartigiano

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.