文章列表
shoka主题页面显示相关设置
# 顶部导航栏 shoka 主题的顶部导航栏分别有:首页、关于、文章、friends、links,这几个导航入口 在 shoka 主题的配置文件中已经对这几个导航栏进行了相关配置: menu: home: / || home about: /about/ || user posts: default: / || feather archives: /archives/ || list-alt categories: /categories/ || th tags: /tags/ || tags friends: /friends/ || heart links: /links/ ||...
more...feapder框架
# 简介 开发文档:https://feapder.com/#/README feapder 是一款上手简单,功能强大的 Python 爬虫框架,内置 AirSpider、Spider、TaskSpider、BatchSpider 四种爬虫解决不同场景的需求。 支持断点续爬、监控报警、浏览器渲染、海量数据去重等功能。 更有功能强大的爬虫管理系统 feaplat 为其提供方便的部署及调度 # 轻量爬虫(AirSpider)demo # 创建项目 选择 AirSpider,回车 feapder create -s air_spider_test> AirSpider Spider...
more...shoka md文件Fornt Matter配置
# Hexo 基础配置 title: #文章标题date: #文章创建日期update: #文章更新日期tags: #文章内容标签type: #配置新页面而非文章时需要添加指定类型categories: [] #分类,手动指定当前文章目录索引路径comment: true #当前文章评论,true 或者 false# shoka 配置 description: #文章显示摘要cover: #封面图片sticky: #文章是否置顶 参考文档:http://blog.starsei.com/blog/hexo/shoka/
more...shoka搜索功能配置
# 安装依赖 首先需要安装站内搜索功能需要的依赖 npm install hexo-algoliasearch --save# 注册 Algolia 账号 Algolia 官网地址:https://www.algolia.com/ # 创建 index 这里创建 index 时输入的 index name 名称,后面会在全局配置文件_config.yml 中用到 # 查看 API keys 创建好 index 后,还需要到 设置 界面查看 API keys,这在_config.yml 中也需要用到 主要是要用到,ID、API Key、Admin API Key 这三个 #...
more...selenium 3.141.0
Google 浏览器驱动程序下载地址 # 一、安装 pip install selenium# 二、常用 from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver import ActionChainsfrom selenium.webdriver.common.keys import Keysfrom selenium.webdriver.support.ui import WebDriverWaitfrom...
more...selenium 4.10
# selenium 4.10 官方文档:https://www.selenium.dev/documentation/webdriver/ from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver import ActionChainsfrom selenium.webdriver.common.keys import Keysfrom selenium.webdriver.chrome.options import Optionsfrom...
more...pyautogui
注:pyautogui 只是能够控制鼠标和键盘事件,并不能提取屏幕中的文本信息 # 依赖安装 pip install pyautogui# 快速上手 import pyautogui# 屏幕大小print(pyautogui.size())# 获取鼠标当前位置print(pyautogui.position())# 判断坐标是否在屏幕内 (x 的取值范围是 [0, 宽度分辨率 - 1],y 的取值范围是 [0, 高度分辨率 - 1])print(pyautogui.onScreen(1920, 100))# 鼠标控制 # 保存屏幕尺寸screenX, screenY =...
more...