网站首页 站内搜索

搜索结果

查询Tags标签: url,共有 2151条记录
  • 爬虫学习打卡第四天——requests实战

    今天实战运用requests 一、爬搜狗 # -*- coding: utf-8 -*- import requests url="http://www.sogou.com" respond=requests.get(url)#1 respond.encoding=respond.apparent_encoding print(respond.text) 代码分析: 1、respond.encoding作用从http header中提…

    2021/11/17 23:11:13 人评论 次浏览
  • java.sql.SQLException: The server time zone value xx is unrecognized or represents more than one ti

    这个报错是由于连接数据版本问题,在连接数据库库的url加上:?serverTimezone=UTC如下:spring:datasource:driver-class-name: com.mysql.jdbc.Driverurl: jdbc:mysql://localhost:3306/test?serverTimezone=UTCusername: rootpassword: 1234

    2021/11/17 19:10:02 人评论 次浏览
  • java.sql.SQLException: The server time zone value xx is unrecognized or represents more than one ti

    这个报错是由于连接数据版本问题,在连接数据库库的url加上:?serverTimezone=UTC如下:spring:datasource:driver-class-name: com.mysql.jdbc.Driverurl: jdbc:mysql://localhost:3306/test?serverTimezone=UTCusername: rootpassword: 1234

    2021/11/17 19:10:02 人评论 次浏览
  • 解决微信小程序获取验证码图片时无法携带Cookie的问题

    一般为了防止机器登录Web网站,都会要求输入验证码。小程序开发的时候,后端直接让把一个url放到image的res属性中,说是一个流文件,不是常规理解的base64的image。 微信小程序在发起请求的时候是不会保存登录态(Cookie)的,所以需要我们自己手动来保存获取到的Cookie。…

    2021/11/17 17:10:08 人评论 次浏览
  • 解决微信小程序获取验证码图片时无法携带Cookie的问题

    一般为了防止机器登录Web网站,都会要求输入验证码。小程序开发的时候,后端直接让把一个url放到image的res属性中,说是一个流文件,不是常规理解的base64的image。 微信小程序在发起请求的时候是不会保存登录态(Cookie)的,所以需要我们自己手动来保存获取到的Cookie。…

    2021/11/17 17:10:08 人评论 次浏览
  • 高级之css web fonts

    目录CSS WEB FONTScss web fontsDifferent Web Font Types1. TrueType Fonts (TTF)2. OpenType Fonts (OTF)3. The Web Open Font Format (WOFF)4. SVG Fonts / shapes5. Embedded OpenType Fonts (EOT)Using Web @font-face to include web fontsonline web fonts fallba…

    2021/11/17 6:39:43 人评论 次浏览
  • 高级之css web fonts

    目录CSS WEB FONTScss web fontsDifferent Web Font Types1. TrueType Fonts (TTF)2. OpenType Fonts (OTF)3. The Web Open Font Format (WOFF)4. SVG Fonts / shapes5. Embedded OpenType Fonts (EOT)Using Web @font-face to include web fontsonline web fonts fallba…

    2021/11/17 6:39:43 人评论 次浏览
  • 爬斗鱼直播信息

    总结思路: 1.循环遍历得到所有的URL 2.使用线程池发送所有的请求,获取响应。 3.在2的响应字符串中使用json.loads()方法转换为字典后提取需要的数据信息。 4.将信息数据保存到MongoDB中#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/11/16 22:12 # @Aut…

    2021/11/16 23:10:11 人评论 次浏览
  • 爬斗鱼直播信息

    总结思路: 1.循环遍历得到所有的URL 2.使用线程池发送所有的请求,获取响应。 3.在2的响应字符串中使用json.loads()方法转换为字典后提取需要的数据信息。 4.将信息数据保存到MongoDB中#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/11/16 22:12 # @Aut…

    2021/11/16 23:10:11 人评论 次浏览
  • python接口自动化测试-封装get和post请求

    封装get和post请求 #!/usr/bin/env python # -*- coding:utf-8 -*-import requests,json def send_get(url, params):try:res1 = requests.get(url=url, params=params)res2 = json.loads(res1.text) # loads 将字符串转换为字典格式res = json.dumps(res2, sort_keys=Tr…

    2021/11/15 22:10:28 人评论 次浏览
  • python接口自动化测试-封装get和post请求

    封装get和post请求 #!/usr/bin/env python # -*- coding:utf-8 -*-import requests,json def send_get(url, params):try:res1 = requests.get(url=url, params=params)res2 = json.loads(res1.text) # loads 将字符串转换为字典格式res = json.dumps(res2, sort_keys=Tr…

    2021/11/15 22:10:28 人评论 次浏览
  • C# https 请求

    if (url.StartsWith("https", StringComparison.OrdinalIgnoreCase)){ServicePointManager.ServerCertificateValidationCallback =new RemoteCertificateValidationCallback(CheckValidationResult);request = WebRequest.Create(url) as HttpWebRequest;reque…

    2021/11/15 14:39:49 人评论 次浏览
  • C# https 请求

    if (url.StartsWith("https", StringComparison.OrdinalIgnoreCase)){ServicePointManager.ServerCertificateValidationCallback =new RemoteCertificateValidationCallback(CheckValidationResult);request = WebRequest.Create(url) as HttpWebRequest;reque…

    2021/11/15 14:39:49 人评论 次浏览
  • AppRunner: 支持多种语言的Web应用管理平台

    前言 AppRunner是由我们公司技术大神Daniel Flower一手打造的Web应用管理平台。什么是AppRunner?简单来说,它是一个快速构建和部署Web应用的平台。开发人员只需要向AppRunner注册自己的App,指定代码的Git URL,AppRunner就会把代码从Github仓库拉取下来并进行自动构建和…

    2021/11/15 6:42:54 人评论 次浏览
  • AppRunner: 支持多种语言的Web应用管理平台

    前言 AppRunner是由我们公司技术大神Daniel Flower一手打造的Web应用管理平台。什么是AppRunner?简单来说,它是一个快速构建和部署Web应用的平台。开发人员只需要向AppRunner注册自己的App,指定代码的Git URL,AppRunner就会把代码从Github仓库拉取下来并进行自动构建和…

    2021/11/15 6:42:54 人评论 次浏览
扫一扫关注最新编程教程