E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
httplib
python 模拟Web登录与下载
1前提需要第三方包
httplib
22本脚本实现本站自动登录下载文件 import
httplib
2 importurllib importos fromurllibimporturlencode
amos_tl
·
2012-09-09 22:00
python
脚本
python time模块练手小程序
# -*-coding:utf8-*- import
httplib
asclient import time import os def get_webservertime
金衣人
·
2012-09-04 11:00
URLLIB,URLLIB2,
HTTPLIB
httplib
是python中http协议的客户端实现,可以使用该模块来与HTTP服务器进行交互。
httplib
的内容不是很多,也比较简单。
Koala_Bear
·
2012-08-28 09:00
httplib
python3
还改动了不少模块啊In Python 3, several related HTTP modules have been combined into a single package, http.import
httplib
import
jjwspj
·
2012-08-27 18:00
Python之
httplib
2模拟登录WebQQ
只有登录功能,没有获取好友、聊天等等其他功能#-*-coding:GBK-*- import
httplib
2,urllib importos,sys,re,hashlib classQQ(object
fulinkster
·
2012-08-27 14:00
python
object
qq
url
login
hex
cookie ajax动态网页数据的抓取
总结一下这个探索的过程,起初使用
httplib
在做这个功能,结果调试很久没有找到问题所在。然后
uestcyao
·
2012-08-23 17:00
python写的系统常用命令(二)
/usr/bin/python # -*- coding: utf-8 -*- # 通用功能类封装 import os,time,sys,string,urllib,
httplib
,shutil,platform
AIOPS_DBA
·
2012-08-10 10:19
系统
python
常用命令
Python
python写的系统常用命令(二)
/usr/bin/python # -*- coding: utf-8 -*- # 通用功能类封装 import os,time,sys,string,urllib,
httplib
,shutil
lover007
·
2012-08-10 10:19
python
常用命令
系统
urlparse,
httplib
,urllib和urllib2
参考:http://www.cnblogs.com/chenzehe/archive/2010/08/30/1812995.html http://www.cnblogs.com/txw1958/archive/2012/03/12/2392067.html 通过urlparse提供了强大的url解析能力: >>> url="http://localh
san_yun
·
2012-08-06 18:00
parse
Python模块学习 ----
httplib
HTTP协议客户端实现
httplib
是python中http协议的客户端实现,可以使用该模块来与HTTP服务器进行交互。下面详细介绍
httplib
提供的常用类型和方法。
寂寞的远行者
·
2012-08-06 16:00
python 调用restapi例子 json 解码方法
x-www-form-urlencoded", "Accept":"application/json","Content-type":"application/xml;charset=utf=8"} conn=
httplib
.HTTPConnection
lipei1220
·
2012-08-03 18:00
c
json
python
user
Class
import
hessian的python客户端
最核心的代码: request = HessianWriter().write_call(method, params) import
httplib
h =
httplib
.HTTP
san_yun
·
2012-07-28 16:00
hessian
python伪造HTTP-REFERER
import
httplib
,urllib2importrandomimporttime i=0while1: a=random.random() b=str(a) url='http://p
韩凡
·
2012-07-25 17:00
伪造Referer
python投票
Python中网络页面抓取和页面分析
1.前言 Python的网络抓取有很多包可以实现,比如:urllib、urllib2、
httplib
、
httplib
2。
lianxiang_biancheng
·
2012-07-22 14:00
html
python
网络
import
html解析器
python并发测试脚本
自己没事用python写了个脚本,用于压力测试 # -*- coding: utf8 -*- # code by Shurrik import threading, time,
httplib
darklipeng
·
2012-07-13 15:00
python
python并发测试脚本
自己没事用python写了个脚本,用于压力测试 # -*- coding: utf8 -*- # code by Shurrik import threading, time,
httplib
darklipeng
·
2012-07-13 15:00
python
urllib2
httplib
HTTPConnection
httplib
实现了HTTP和HTTPS的客户端协议,一般不直接使用,在python更高层的封装模块中(urllib,urllib2)使用了它的http实现。
单身贵族liu
·
2012-06-16 11:03
python
客户端
python利用socket或者
httplib
模块代理访问网络
httplib
代理方法:conn=
httplib
.HTTPConnection('120.28.64.69',8080)conn.request('GET',r'http://www.ip.cn/getip.php
dldx_062
·
2012-06-10 22:28
检查网址是否存在
阅读更多#-*-coding:utf-8-*-fromurlparseimporturlsplitfrom
httplib
importHTTPConnectionclassHttpChecker:"""检测网址是否存在
ryan.liu
·
2012-05-16 10:00
检查网址是否存在
# -*- coding: utf-8 -*- from urlparse import urlsplit from
httplib
import HTTPConnection
ryan.liu
·
2012-05-16 10:00
iap支付服务器验证python版本
-*- from django.http import HttpResponse, HttpResponseRedirect import simplejson as json import
httplib
ghh0000
·
2012-05-15 10:00
apple
python
Python使用
Httplib
访问Web站点
最简单的用法:import
httplib
2 importlibxml2 http=
httplib
2.Http() response,content=http.request('http://www.google.com
mscf
·
2012-05-08 21:00
CherryProxy - a filtering HTTP proxy extensible in Python
DecalageCherryProxy-afilteringHTTPproxyextensibleinPythonCherryProxyisasimpleHTTPproxywritteninPython2.x,basedontheCherryPyWSGIserverand
httplib
·
2012-04-29 11:00
python
httplib
2 - A comprehensive HTTP client library in Python - Google Project Hosting
httplib
2-AcomprehensiveHTTPclientlibraryinPython-GoogleProjectHosting
Httplib
2AcomprehensiveHTTPclientlibrarythatsupportsmanyfeaturesleftoutofother
HTTPlib
raries.RequirementsRequiresPython2.3orlater.Ver
·
2012-04-29 09:00
project
python+
httplib
实现HTTP POST提交数据,使用Basic Authentication(基本验证)做登陆验证
python+
httplib
实现HTTPPOST提交数据,使用BasicAuthentication(基本验证)做登陆验证 #!
cyent
·
2012-04-03 23:38
python
basic
post
验证
httplib
python+
httplib
实现HTTP POST提交数据,使用Basic Authentication(基本验证)做登陆验证
python+
httplib
实现HTTPPOST提交数据,使用BasicAuthentication(基本验证)做登陆验证#!
小慢哥
·
2012-04-03 23:38
验证
post
python
Requests: HTTP for Humans¶
(Installation)RequestsisanISCLicensed
HTTPlib
rary,writteninPython,forhumanbeings.Python’sstandardurllib2modulepro
·
2012-04-01 22:00
request
python
httplib
模块的http客户端
httplib
模块写的http客户端: import
httplib
conn =
httplib
.HTTPConnection('10.15.2.104', 80)
东边日出西边雨
·
2012-03-29 10:00
python
python向服务器请求压缩数据及解压缩数据
/usr/bin/envpython #encoding=utf-8 importurllib2,
httplib
defwriteFile(fname,data): f=open(fname,"w"
JoeBlackzqq
·
2012-03-28 22:00
python
header
服务器
import
encoding
python
httplib
2与urllib2包的介绍
刚刚发现了一个比urllib2更好用的库
httplib
2,可以比较简单的解决本文遇到的一些问题http://code.google.com/p/
httplib
2/————————————————————
endual
·
2012-03-20 21:00
python
python
httplib
2与urllib2包的介绍
刚刚发现了一个比urllib2更好用的库
httplib
2,可以比较简单的解决本文遇到的一些问题http://code.google.com/p/
httplib
2/————————————————————
endual
·
2012-03-20 21:00
python
Quickstart — Requests 0.10.7 documentation
Quickstart—Requests0.10.7documentationRequestsisanelegantandsimple
HTTPlib
raryforPython,builtforhumanbeings.Youarecurrentlylookingatthedocumentationofthedevelopmentrelease
·
2012-03-18 23:00
document
Python网页抓取urllib,urllib2,
httplib
[3]
使用urllib2,太强大了试了下用代理登陆拉取cookie,跳转抓图片......文档:http://docs.python.org/library/urllib2.html 直接上demo代码了包括:直接拉取,使用Reuqest(post/get),使用代理,cookie,跳转处理#!/usr/bin/python #-*-coding:utf-8-*- #urllib2_test.py #a
wklken
·
2012-03-17 16:00
exception
python
header
url
FP
login
Python网页抓取urllib,urllib2,
httplib
[2]
上一篇使用urllib抓取 Python网页抓取urllib,urllib2,
httplib
[1]使用
httplib
抓取:表示一次与服务器之间的交互,即请求/响应
httplib
.HTTPConnection
wklken
·
2012-03-17 16:00
html
windows
python
服务器
header
url
Python网页抓取urllib,urllib2,
httplib
[1]
前阶段使用到ftp,写了个工具脚本http://blog.csdn.net/wklken/article/details/7059423最近需要抓网页,看了下python抓取方式 需求:抓取网页,解析获取内容涉及库:【重点urllib2】urllib http://docs.python.org/library/urllib.htmlurllib2 http://docs.python.or
wklken
·
2012-03-17 16:00
python
String
服务器
url
callback
import
http 数据压缩
告诉服务器你想获得压缩数据>>> import urllib2,
httplib
>>>
httplib
.HTTPConnection.debuglevel=1
linmomo02
·
2012-03-15 14:00
http
GZip
自动旁注并多进程调用wwwscan扫描旁注结果的python脚本。
本人是py3.2调用的是bing数据库,
httplib
2和bs4模块可以网上找找。
httplib
2支持压缩,所以用他了,默认的不支持。
yatere
·
2012-03-05 10:00
.net
windows
python
脚本
import
encoding
一个用于踩点获取信息的python脚本
#coding='utf8' import
httplib
2,socket,sys,re importurllib.parseasup frompprintimportpprint #forcom
yatere
·
2012-02-15 17:00
fetch html use python still have some small issue
/usr/bin/envpython#encoding=utf-8importredisimporturllib2importtimeimportStringIOimportgzipimport
httplib
importcookielib
httplib
.HTTPConnection.debuglevel
·
2012-02-14 21:00
python
深入 Python :Dive Into Python 中文版 重定向
没有重定向处理的情况下,访问web服务>>>importurllib2,
httplib
·
2012-02-14 17:00
python
httplib
2 支持使用例子(python3支持)
个人觉得非常不错,就是对cookie支持存在问题,对代理服务器支持上也有问题SimpleRetrievalimport
httplib
2 h=
httplib
2.Http(".cache") resp,content
yatere
·
2012-02-13 17:00
python
header
Authentication
import
character
encoding
python自动登录百度空间
/usr/bin/python #coding:GBK importurllib,urllib2,
httplib
,cookielib defauto_login_hi(url,name,pwd)
JoeBlackzqq
·
2012-02-07 12:00
HTTP协议以及PYTHON开发技巧
Python采用
httplib
库进行HTTP通讯,用法很简单:import
httplib
#导入
httplib
库 co
lrenjundk
·
2011-12-22 15:00
python
服务器
url
import
任务
通讯
Python - 熟悉
httplib
2
为什么用
HttpLib
2呢?比起
HttpLib
多出什么呢?1.支持HTTP和HTTPS,当然在这里和
httplib
是一样的。
leehark
·
2011-12-17 13:00
cache
socket
python
Authentication
import
credentials
yum ValueError: bad marshal data
fedorayum出问题,运行出现: import
httplib
File"/usr/lib/python2.6/
httplib
.py",line1078,in importsslValueError
shenyan008
·
2011-12-17 01:00
httplib
2---python下的http请求终结者
httplib
2功能介绍:http://code.google.com/p/
httplib
2/
httplib
2实例页面:http://code.google.com/p/
httplib
2/w/list
httplib
2
上帝De助手
·
2011-12-17 00:43
python应用
httplib
2---python下的http请求终结者
httplib
2功能介绍:http://code.google.com/p/
httplib
2/
httplib
2实例页面:http://code.google.com/p/
httplib
2/w/list
httplib
2
five3
·
2011-12-17 00:00
cache
validation
ssl
domain
import
credentials
python--
httplib
模块使用
httplib
是一个相对底层的http请求模块,其上有专门的包装模块,如urllib内建模块,goto等第三方模块,但是封装的越高就越不灵活,比如urllib模块里请求错误时就不会返回结果页的内容,只有头信息
five3
·
2011-12-16 23:00
socket
服务器
File
ssl
Class
web服务
python--
httplib
模块使用
httplib
是一个相对底层的http请求模块,其上有专门的包装模块,如urllib内建模块,goto等第三方模块,但是封装的越高就越不灵活,比如urllib模块里请求错误时就不会返回结果页的内容,只有头信息
上帝De助手
·
2011-12-16 00:00
file
socket
ssl
web服务
服务器
class
python应用
本代码包含 Python 使用 GET/HEAD/POST 方法进行 HTTP 请求
[代码] GET方法01>>> import
httplib
02>>>conn =
httplib
.HTTPConnection("www.python.org") 03>>>conn.request
索隆
·
2011-12-08 13:00
上一页
12
13
14
15
16
17
18
19
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他