Gavin‘s 开发笔记

Gavin‘s 开发笔记

  • 首页
  • Java
    • Java 基础
    • Java 快餐
    • maven依赖
  • Python
    • Python基础
    • 爬虫技术
    • 自动化测试
  • Uniapp
  • Dart
  • Docker
  • MacOS
  • 其他

Docker安装配置Mysql 8.0

10月29日 Docker,未分类 没有评论 docker

一、拉取镜像 root@ubuntudoc:~# docker pull mysql:8.0 二、查看镜像 root@ubuntudoc:~# docker images REPOSITORY TAG IMAGE ID CREATED SIZ...

JAVA快餐 1 创建项目和接口实现基础Maping&List

10月29日 Java,Java 快餐 没有评论 list,Maping

一、创建项目后通过prom.xml引入工具包 在<dependencies>区域中,添加一个spring-boot-starter-web包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-...

Charles 抓包基础教程

10月23日 未分类 没有评论

下载链接:http://www.charlesproxy.com/破解链接:https://www.zzzmode.com/mytools/charles/

爬虫 6 selenium调动浏览器爬数据

10月22日 Python,爬虫技术 没有评论 selenium

# 以下方法都可以从网页中提取出'你好,蜘蛛侠!'这段文字 find_element_by_tag_name:通过元素的名称选择 # 如<h1>你好,蜘蛛侠!</h1> # 可以使用find_element_by_tag_name('h1') find_element_b...

json 模块的使用

10月22日 Python,爬虫技术 没有评论 json.dumps,json.loads

import requests, json url = 'http://ictclas.nlpir.org/nlpir/index6/getWord2Vec.do' headers={'origin':'http://ictclas.nlpir.org', 'referer':'http://ictclas.nlpir.org/nlpir/', 'user-agent':'...

爬虫 和机器人聊天

10月22日 Python,爬虫技术 没有评论

基础版聊天 import requests, json url = 'http://openapi.tuling123.com/openapi/api/v2' robotName = 'Robot' apiKey = '61f2cfc8b00b41c4a2605b11671367a2' while True: text=(input('发言:')) d...

爬虫 5 带cookies的requests.post请求

10月22日 Python,爬虫技术 2条评论 cookies,post,requests

import requests #引入requests。 url = ' https://wordpress-edu-3autumn.localprod.oc.forchange.cn/wp-login.php' #把请求登录的网址赋值给url。 headers = { 'User-Agent':'Mozilla/5.0 (Windows NT 10....

用爬虫完成扇贝的单词测试

10月21日 Python,爬虫技术 1条评论 open(),requests

import requests # 先用requests请求链接 link = requests.get('https://www.shanbay.com/api/v1/vocabtest/category/') # 解析请求得到的响应 js_link = link.json() # 让用户选择自己想测的词库,输入数字编...

爬虫 4 excel&csv的创建和读取

10月21日 Python,爬虫技术 1条评论 csv,excel

excel的创建和读取 import openpyxl # 写入的代码: wb = openpyxl.Workbook() sheet = wb.active sheet.title = 'new title' sheet['A1'] = '漫威宇宙' rows = [['美国队长','钢铁侠','蜘蛛侠','雷神'],['...

爬虫 3 params&header的运用带参数和请求头的爬虫

10月21日 Python,爬虫技术 2条评论 header,params

学习重点: params = {'page':'2'} res = requests.get('https://lvnvl.cn',params = params) import requests # 引用requests模块 url = 'https://c.y.qq.com/base/fcgi-bin/fcg_global_comment_h5.fc...

  • 1
  • 2
  • 3
  • 4
  • 5(current)
  • 6
  • 7

文章分类

  • 未分类 (5)
  • MacOS (5)
  • Java (19)
  • Python (27)
  • Docker (10)
  • Dart (1)
  • uniapp (2)

热门文章

  • 爬虫 3 params&header的运用带参数和请求头的爬虫
  • 爬虫 5 带cookies的requests.post请求
  • Python基础 7 类&继承类
  • Python基础 8 文件的读写操作
  • Python基础 9 smtplib模块发邮件
  • Python基础 10 MyQR二维码生成模块
  • 爬虫 1 request模块的运用
  • 爬虫 2 BeautifulSoup的运用
  • 爬虫 4 excel&csv的创建和读取
  • 用爬虫完成扇贝的单词测试

随机推荐

  • pytest 5 通过TyinDB读写json文件
  • 常用的包和类
  • docker 升级后或者重装后,启动容器提示:Error response from daemon: Unknown runtime specified docker-runc
  • 爬虫 2 BeautifulSoup的运用
  • docker-runc not installed on system 问题
  • SpringBoot整合Swagger3生成接口文档
  • JAVA快餐 3 spring boot配置druid连接池连接mysql
  • 用爬虫完成扇贝的单词测试
  • Charles 抓包基础教程
  • Docker安装配置Mysql 8.0

标签云

Accept-Encoding BeautifulSoup class cookies csv docker encoding excel float() for header headers if input int() Java Java基础 jdbc json.dumps json.loads list MacOs Maping math mybatis MyQR mysql open() params post print() pytest random requests round() Scanner selenium sleep smtp springboot str() switch time while __init__

友情链接

  • 美剧家园
  • Gavin's 钢琴笔记
  • 图片压缩
  • 二维码生成
  • 奇客谷
  • 人邮教育
  • SpringBoot集合教程
  • Ray's Blog
  • Python自动化测试
  • el-admin

2011-2020 G.lvovl.cn |

代码在页面底部,统计标识不会显示,但不影响统计效果