Skip to content

Instantly share code, notes, and snippets.

#-*-coding=utf-8-*-
import requests
import re
from threading import Thread
import Queue
import time
import random
page=1 #max=79
home='http://91porn.com/video.php?page=%d&category=rf'%1
@za2016
za2016 / v2ex_sign.py
Last active May 31, 2023 04:24
v2ex自动签到小脚本
#-*- coding=utf-8 -*-
import requests
import re
import sys
reload(sys)
sys.setdefaultencoding('utf8')
signin='http://v2ex.com/signin'
home='http://v2ex.com'
#-*- coding=utf-8 -*-
"""
知乎图片下载器
"""
import requests
import re
import json
import time
from PIL import Image
import cStringIO
@za2016
za2016 / tumblr.py
Last active October 28, 2016 23:53
# -*- coding=utf-8 -*-
from threading import Thread
import Queue
import requests
import re
import os
import sys
import time
# -*- coding=utf8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
from PyQt4 import QtCore, QtGui, uic
import requests
import re
tc_api='http://image.baidu.com/pictureup/uploadshitu'
files={
CTYPE html>
<html>
<head>
<title>Rango</title>
</head>
<body>
<h1>Rango says...</h1>
hello world! <strong>{{ boldmessage }}</strong><br />