码迷,mamicode.com
首页 >  
搜索关键字:requests 、beautifulsoup    ( 5272个结果
H.264视频的RTP荷载格式
Status of This Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions f...
分类:其他好文   时间:2015-01-24 10:08:33    阅读次数:210
WSAAsyncSelect function (Windows)
WSAAsyncSelect functionTheWSAAsyncSelectfunction requests Windows message-based notification of network events for a socket.SyntaxC++int WSAAsyncSelec...
分类:Windows程序   时间:2015-01-24 00:17:25    阅读次数:488
Python - cookielib [urllib2/requests]
cookie操作(读取,添加,删除,保存),结合urllib2和requests进行说明,此处只做局部演示,如果有疑问,请查阅: (Author: nixawk) https://docs.python.org/2/library/cookielib.html https://hg.python.org/cpython/file/2.7/Lib/cookielib.py...
分类:编程语言   时间:2015-01-23 18:24:40    阅读次数:287
安装Python的easy_install工具和BeautifulSoup模块
1、esay_install easy_install是Python的发行包管理工具,类似于linux的apt-get或者yum包管理工具,使用easy_install可以很方便的获取第三方的Python发行模块。 安装方法: 1.1 Mac OS X 系统可以在终端执行以下命令: curl https://bootstrap.pypa.io/ez_setup.py -o - ...
分类:编程语言   时间:2015-01-22 18:04:45    阅读次数:629
asp.net 子域跨域 带cookie
先来一个老外的解决方案:http://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api再来一个师兄的解决方案说明:http://www.cnblogs.com/czcz1024/p/3673...
分类:Web程序   时间:2015-01-21 01:20:44    阅读次数:207
python requests使用
参考:http://cn.python-requests.org/zh_CN/latest/1.使用requests发送请求:>>> r = requests.get('https://github.com/timeline.json')#get请求>>> r = requests.post("ht...
分类:编程语言   时间:2015-01-20 17:31:36    阅读次数:267
linux上安装BeatifulSoup(第三方python库)
1. 什么是beatifulsoup?beatifulsoup官网http://www.crummy.com/software/BeautifulSoup/ BeatifulSoup是用Python写的一个HTML/XML的解析器,它可以很好的处理不规范标记并生成剖析树(parse tree)。 它...
分类:编程语言   时间:2015-01-19 20:54:36    阅读次数:132
python实现利用nmap和爱站扫描开放80端口的IP并进行反向域名解析
#!/usr/bin/python # -*- coding: utf-8 -*- from libnmap.process import NmapProcess from libnmap.parser import NmapParser import requests x=90 while x < 255: print "\033[1;31mstart 118.192.%s.0/24\033...
分类:编程语言   时间:2015-01-19 10:56:44    阅读次数:535
python抓取搜索到的url,小型爬虫
#!/usr/bin/python # -*- coding: utf-8 -*- import sys import re import urllib2 from BeautifulSoup import BeautifulSoup def search(key): #请求搜索链接,关键字用参数key代替 search_url='http://www.baidu.com/s?ie=UT...
分类:编程语言   时间:2015-01-19 09:22:12    阅读次数:166
Python requests模块学习笔记
Requests 是使用Apache2 Licensed许可证的 HTTP 库。用 Python 编写,真正的为人类着想。Python 标准库中的urllib2模块提供了你所需要的大多数 HTTP 功能,但是它的 API 太渣了。它是为另一个时代、另一个互联网所创建的。它需要巨量的工作,甚至包括各种...
分类:编程语言   时间:2015-01-16 18:44:38    阅读次数:159
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!