This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding:utf-8 | |
import logging | |
import time | |
import urllib | |
import mimetools | |
from tornado import httpclient | |
from tornado.httputil import HTTPHeaders | |
from tornado import escape | |
from tornado.auth import OAuthMixin,OAuth2Mixin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*本代码用于删除自己所有新浪微薄所用,执行前请慎重,本人不负一切责任 | |
* 用法: | |
* 1.打开自己新浪微薄个人主页 | |
* 2.Firefox用户打开firebug(没有firebug的自行安装),chrome用户请按ctrl+shift+J | |
* 3.复制一下代码,firefox用户将代码复制到控制台,点击运行。chrome用户将代码复制到控制台点击回车即可。等待所有微薄删除完毕 | |
* 4.可根据自身情况修改time1与time2加快删除速度。time1与time2单位为毫秒。如遇程序停止,微薄还未删除干净,可刷新页面重新运行程序 | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding:utf-8 | |
__author__ = "Forrest Liu" | |
import os | |
import zlib | |
import tempfile | |
import binascii | |
W_H_RULELIST = {"50":[[0, 10], [5, 10], 5], "58":[[1, 40], [6, 10], 6], |