Monthly Archives: January 2016

备忘:逼站个人中心的隐藏API

curl ‘http://space.bilibili.com/ajax/settings/setPrivacy’ -H ‘Cookie: f******’ -H ‘Origin: http://space.bilibili.com’ -H ‘Accept-Encoding: gzip, deflate’ -H ‘Accept-Language: en-CA,en;q=0.8,en-US;q=0.6,zh-CN;q=0.4,zh;q=0.2’ -H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Safari/537.36’… Read more »

Acfun自动老司机:自动按正则回复私信

有人提议,我就写个。 老规矩,GPLv2,自己测试,风险自担。   https://gist.github.com/cnbeining/b77a4f5762a78fb3878c   #!/usr/bin/env python #coding:utf-8 # Author: Beining –<i@cnbeining.com> # Purpose: Auto reply Acfun’s msg # Created: 01/05/2016 # License: GPLv2 import sys import unittest import requests… Read more »