会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
aprial2011
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
7
8
9
···
20
下一页
2016年1月17日
使用python,scrapy写(定制)爬虫的经验,资料,杂。
摘要: http://my.oschina.net/u/1024140/blog/188154
阅读全文
posted @ 2016-01-17 16:41 aprial
阅读(149)
评论(0)
推荐(0)
2015年12月12日
urlparse获取url后面的参数
摘要: copyfrom: http://www.cnpythoner.com/post/263.html 如果给定你一个URL,比如: http://url/api?param=2¶m2=4 我们需要获取参数名和参数值的话,那可以用到python标准库urlparse import urlparse def qs(url): query = urlparse.urlpa...
阅读全文
posted @ 2015-12-12 16:47 aprial
阅读(2957)
评论(0)
推荐(0)
Selenium中文论坛
摘要: http://www.iselenium.com/
阅读全文
posted @ 2015-12-12 12:35 aprial
阅读(404)
评论(0)
推荐(0)
Selenium tutorial/overview
摘要: copy from: http://www.jroller.com/selenium/ Selenium tutorial/overview 1. Selenium Introduction 2. Selenium Installation 3. Getting Started/Selenium RC steps 4. Selenium Tips and Quirks/FAQ 5. E...
阅读全文
posted @ 2015-12-12 10:03 aprial
阅读(558)
评论(0)
推荐(0)
Selenium菜鸟手册
摘要: 转自: http://www.iselenium.com/read.php?tid=458 首先声明我还是一只很菜的菜鸟,学习Selenium一个来月而已,发这个帖子是想利用我这块板砖引出真正的玉来,也希望帮助菜鸟们更快地入门,好,废话不多说: 1.对于selenium入门的教程,当然是hyddd的Selenium私房菜和沈东良的Selenium深入浅出 另附oliviazhu推荐的 ...
阅读全文
posted @ 2015-12-12 09:59 aprial
阅读(13936)
评论(0)
推荐(0)
PHP HERE DOCUMENT
摘要: 转自: http://www.codeweblog.com/php%E4%B8%ADheredoc%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ Heredoc技术,在正规的PHP文档中和技术书籍中一般没有详细讲述,只是提到了这是一种Perl风格 的字符串输出技术。但是现在的一些论坛程序,和部分文章系统,都巧妙的使用heredoc技术,来部分的实现了...
阅读全文
posted @ 2015-12-12 09:40 aprial
阅读(245)
评论(0)
推荐(0)
2015年12月11日
webdriver函数
摘要: import sys; print('%s %s' % (sys.executable or sys.platform, sys.version)) PyDev console: starting. C:\Python27\python.exe 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] imp...
阅读全文
posted @ 2015-12-11 21:13 aprial
阅读(3091)
评论(0)
推荐(0)
unicode字符串解码显示
摘要: # encoding: utf-8 ''' unicode字符串解码显示 ''' import sys reload(sys) sys.setdefaultencoding('utf-8') a = '\u5b64' aa = a.decode('unicode-escape') print aa, repr(aa)
阅读全文
posted @ 2015-12-11 20:24 aprial
阅读(355)
评论(0)
推荐(0)
2015年12月9日
PHP代码中input控件使用id无法POST传值,使用name就可以
摘要: Example 登录用户名 密码
阅读全文
posted @ 2015-12-09 21:01 aprial
阅读(918)
评论(0)
推荐(0)
2015年12月3日
scrapy
摘要: pip install Sphinx cd /d E:\work\soft\selenium-2.48.0\py\selenium sphinx-quickstart sphinx-apidoc -o outputdir packagedir sphinx-apidoc -s .txt -o E:\work\soft\selenium-2.48.0\source E:\work\s...
阅读全文
posted @ 2015-12-03 22:28 aprial
阅读(299)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
20
下一页
公告