Wesley13 Wesley13
4年前
VideoView支持播放https的url视频
重写setVideoUrI方法@OverridepublicvoidsetVideoURI(Uriuri){super.setVideoURI(uri);try{HttpsURLConnection.setDefaultSSLSocketFactory(S
Easter79 Easter79
4年前
SpringBoot2.x之在拦截器获取http请求的json数据公共参数的验证
HTTP请求中的是字符串数据//字符串读取voidcharReader(HttpServletRequestrequest){BufferedReaderbrrequest.getReader();Stringstr,wholeStr"";while((str
Wesley13 Wesley13
4年前
python 根据中文构造url的方法
python在处理网页的时候通常需要自己构造url,如在浏览器中显示为!wKioL1L523DCRZCeAAA8urpzF6w821.jpg(http://static.oschina.net/uploads/img/201502/24130245_sqM6.jpg"url.jpg")(https://www.oschina.net/action
Wesley13 Wesley13
4年前
URL请求中的HTTP协议分析
URL请求过程中,浏览器或程序会按照标准的HTTP协议进行处理,下面以百度访问为例,我们可以用curlvhttps://www.baidu.com(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.baidu.com%2F)来分析,会发现总共有4个处理阶段。1、
Wesley13 Wesley13
4年前
uliweb自动测试url的脚本
有时我们需要检测版本修改之后的正确性,最简单的就是将一些主要的链接访问一下,看一看有没有报错,没有报错的话,基本上就没有太大问题。下面是一段利用了Test功能进行自动测试的脚本。fromuliweb.utils.testimportclientcclient('..')urls('p
Stella981 Stella981
4年前
OData metadata request url的population 逻辑
CreatedbyJerryWangonSep18,2015!(https://userimages.githubusercontent.com/5669954/27352116e7cc4b8a55ff11e7954060acf2a65a62.png
Stella981 Stella981
4年前
Django基础二之URL路由系统
本节目录一 URL配置Django1.11版本URLConf官方文档(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fdocs.djangoproject.com%2Fen%2F1.11%2Ftopics%2Fhttp%2Furls%2
Wesley13 Wesley13
4年前
URI、URL、URN 的联系和区别
原文同步至http://www.waylau.com/differenceofuriurlurn/(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.waylau.com%2Fdifferenceofuriurlurn%2F)在Web应用中,URI、URL
Stella981 Stella981
4年前
SpringBoot2.x之在拦截器获取http请求的json数据公共参数的验证
HTTP请求中的是字符串数据//字符串读取voidcharReader(HttpServletRequestrequest){BufferedReaderbrrequest.getReader();Stringstr,wholeStr"";while((str
小白学大数据 小白学大数据
2星期前
拉勾网 Ajax 动态加载数据的 Python 爬虫解析
在招聘数据采集、职场趋势分析等场景中,拉勾网是重要的数据来源,但拉勾网采用Ajax动态加载技术渲染页面,传统的静态网页爬虫无法直接获取数据。本文将从Ajax动态加载原理入手,详解基于Python的拉勾网数据爬虫实现过程,包括请求分析、参数构造、反爬应对及数