V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
syoubaku
V2EX  ›  Python

无聊写了一个批量操作 twiiter 好友的工具,有兴趣的可以一试。

  •  
  •   syoubaku ·
    houko · 2018-01-29 13:47:21 +08:00 · 2013 次点击
    这是一个创建于 2251 天前的主题,其中的信息可能已经有所发展或是发生改变。

    代码地址: https://github.com/xiaomoinfo/fastTwitter

    使用步骤 1

    application manager 上创建一个 app, 你将会得到我们所需要的相关信息

    使用步骤 2

    打开 'cfg.json'文件, 修改成你自己账号的配置

    使用步骤 3

    • 功能 1: 批量关注

    打开文件 'follow.py',右键,选择 run 命令。

    • 功能 2: 批量取关

    打开文件 'unfollow.py', 右键,选择run 命令。 这是个危险的操作,所以会在config目录生成一个名为unfollow.txt的备份文件,以便随时加回来。

    修改你要关注的人

    如果你想添加或修改想要 follow 的人, 你可修改 follow.txt这个文件

    祝你好运

    如果在使用过程中有任何问题请随时联系

    相关链接

    license

    MIT License
    
    Copyright (c) 2018 Peng Hu
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    2 条回复    2018-02-02 15:02:25 +08:00
    syoubaku
        1
    syoubaku  
    OP
       2018-01-30 19:40:17 +08:00
    单机了,心塞塞
    kontar
        2
    kontar  
       2018-02-02 15:02:25 +08:00
    111
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5355 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:01 · PVG 16:01 · LAX 01:01 · JFK 04:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.