上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 谷歌替代品:http://search.1sohu.com/http://www.tmd123.com网盘搜索工具:1、云搜http://yunsou.1sohu.com/2、壹搜网盘搜索引擎3、盘易搜盘易搜-百度网盘搜索4、BD盘搜索百度网盘资源搜索引擎5、网盘搜索引擎百度网盘搜索引擎6、百度网盘... 阅读全文
posted @ 2014-10-09 17:49 李雷雷alexkn 阅读(604) 评论(2) 推荐(0) 编辑
摘要: 一.第一步是创建一个scrapy项目sh-3.2# scrapy startproject liuyifeiImagesh-3.2# chmod -R 777 liuyifeiImage/二.分析图片特征1.解决分页url部分:我们爬虫的start_url是"http://movie.douban.... 阅读全文
posted @ 2014-10-04 13:40 李雷雷alexkn 阅读(3757) 评论(4) 推荐(0) 编辑
摘要: 转载至:http://blog.sina.com.cn/s/blog_6c39196501016o7n.html首先,你要有一个新浪微博账号。 申请页面:http://weibo.com 其次,你要在新浪微博的开发平台中创建一个应用,获取自己专属的App Key和App Secret。 申请页... 阅读全文
posted @ 2014-10-01 18:41 李雷雷alexkn 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 本想抓取网易摄影上的图,但发现查看html源代码时找不到图片的url,但firebug却能定位得到。(不知道为什么???)目标是抓取前50页的爆乳图,代码如下:import urllib2,urllib,re,os'''http://www.dbmeizi.com/category/2?p=%'''... 阅读全文
posted @ 2014-10-01 18:08 李雷雷alexkn 阅读(1823) 评论(0) 推荐(0) 编辑
摘要: 转载至:http://wklken.me/posts/2013/03/25/python-tool-fabric.htmlfabrictitle是开发,但是同时要干开发测试还有运维的活 (o(╯□╰)o)近期接手越来越多的东西,发布和运维的工作相当机械,加上频率还蛮高,导致时间浪费还是优点多。修复b... 阅读全文
posted @ 2014-09-29 16:27 李雷雷alexkn 阅读(525) 评论(0) 推荐(0) 编辑
摘要: import unittestclass SimpleUnitTest(unittest.TestCase): def test_Fail(self): self.failUnless(True) def test_Fail(self): self.failI... 阅读全文
posted @ 2014-09-27 11:40 李雷雷alexkn 阅读(1359) 评论(0) 推荐(0) 编辑
摘要: 给出一个例子:def foo(*args,**kwargs): print 'args=',args print 'kwargs=',kwargs print '---------------------------'if __name__=='__main__': foo(... 阅读全文
posted @ 2014-09-27 11:37 李雷雷alexkn 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: 举个例子:import csvimport ospath='/tmp/'file='test.csv'def generate_csv(path,file): if not os.path.exists(path): os.mkdir(path) files=os.path... 阅读全文
posted @ 2014-09-12 15:59 李雷雷alexkn 阅读(3596) 评论(0) 推荐(0) 编辑
摘要: 从/mnt目录下读取section配置文件sample.ini[db]host=192.168.1.116hostaddr=192.168.1.116port=5432dbname=class4_dbuser=class4_userpassword =[web_db]host=db.$hostadd... 阅读全文
posted @ 2014-09-11 11:32 李雷雷alexkn 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 本来在centos里不好装的软件,往往ubuntu里会很好装,但sipp恰恰相反,ubuntu里能装死你。做VOIP测试的话,有时候为了模拟通话中更好的抓包,在环境简陋,又不想使用集线器引起广播风暴的前提下,sipp最好装在本机里,因此,对于装Ubuntu的人,不得不做死装一把!(这东西搞了我2个小... 阅读全文
posted @ 2014-09-04 16:42 李雷雷alexkn 阅读(819) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页