Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Lujango Lujango

💭
I may be slow to respond.
  • asiainfo
  • Chengdu, Sichuan Sheng, China
View GitHub Profile
@Lujango
Lujango / requirements.txt
Created Apr 12, 2016 — forked from mrluanma/requirements.txt
Python 登录新浪微博(requests 真的比 urllib2 强了 2^^32 倍 pip install requests)
View requirements.txt
requests==2.4.3
rsa==3.1.4
@Lujango
Lujango / v2ex_auto_login.py
Created Jan 8, 2016 — forked from fpfeng/v2ex_auto_login.py
登录 V2EX 领取每日奖励
View v2ex_auto_login.py
# -*- 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) \