摘要:# -*-coding:utf-8-*- from flask import Flask,url_for app = Flask(__name__) @app.route('/')#简单路由 def hello_world(): return 'hello world' @app.route('/user')#另一个简单路由 def hello_user(): return...
阅读全文
05 2016 档案
摘要:伪装可以在浏览器中审查元素,network中随便选一个查看,看最底下的User-Agent就行了,顺便一提hearders是个字典。
阅读全文
摘要:# -*-coding:utf-8 -*- import re scerct_code = 'qwxxlxxerxxoxxtyxxvxxuixxexxop' scerct_code_0 = 'qwxxlxxerxx' \ 'oxxtyxxvxxuixxexxop' a = re.findall('q.',scerct_code)#.占位符,匹配任意字符除了换行符...
阅读全文
摘要:仿照伯乐在线的程序写的~不过写完再pycharm运行有一定问题,不能重定向,不过用控制台直接运行就可行了。 不写成工程文件了,直接一个文件写完算了。。。
阅读全文

浙公网安备 33010602011771号