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
CTYPE html> | |
<html> | |
<head> | |
<title>Rango</title> | |
</head> | |
<body> | |
<h1>Rango says...</h1> | |
hello world! <strong>{{ boldmessage }}</strong><br /> |
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
# -*- 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={ |
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
# -*- coding=utf-8 -*- | |
from threading import Thread | |
import Queue | |
import requests | |
import re | |
import os | |
import sys | |
import time | |
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
#-*- coding=utf-8 -*- | |
""" | |
知乎图片下载器 | |
""" | |
import requests | |
import re | |
import json | |
import time | |
from PIL import Image | |
import cStringIO |
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
#-*- coding=utf-8 -*- | |
import requests | |
import re | |
import sys | |
reload(sys) | |
sys.setdefaultencoding('utf8') | |
signin='http://v2ex.com/signin' | |
home='http://v2ex.com' |
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
#-*-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 |