Skip to content

Instantly share code, notes, and snippets.

View Lujango's full-sized avatar
💭
I may be slow to respond.

Lujango Lujango

💭
I may be slow to respond.
  • ai
  • Chengdu, Sichuan Sheng, China
View GitHub Profile
@Lujango
Lujango / v2ex_auto_login.py
Created January 8, 2016 07:14 — forked from fpfeng/v2ex_auto_login.py
登录 V2EX 领取每日奖励
# -*- coding: utf-8 -*-
from bs4 import BeautifulSoup
import requests
username = '' ###账号###
password = '' ###密码###
login_url = 'http://v2ex.com/signin' ###如V2EX设置了使用 SSL,必须改 https###
index_url = 'http://v2ex.com' ###同上###
mission_url = 'http://www.v2ex.com/mission/daily' ###同上###
UA = "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) \
@Lujango
Lujango / requirements.txt
Created April 12, 2016 12:28 — forked from mrluanma/requirements.txt
Python 登录新浪微博(requests 真的比 urllib2 强了 2^^32 倍 pip install requests)
requests==2.4.3
rsa==3.1.4