上一页 1 2 3 4 5 6 7 ··· 59 下一页

2025年4月24日

python 爬虫淘宝天猫

摘要: python 爬虫获取淘宝天猫的图片和标题 以 Playwright + Python 为例: 扫码登录获取 cookies 的方式(推荐用 headless browser 实现) 由于linux服务器没有页面,使用 headless=False + Xvfb(虚拟显示)模拟图形界面(推荐在服务器 阅读全文

posted @ 2025-04-24 16:25 星河赵 阅读(160) 评论(0) 推荐(0)

2025年3月24日

Python 使用 EasyOCR检测图片是否有文字

摘要: 检测图片是否有文字: EasyOCR 对 中文、手写字体、复杂背景 处理更好。 github 地址:https://github.com/JaidedAI/EasyOCR 安装: pip install easyocr model 相关安装包 1,模型的官方地址: https://www.jaide 阅读全文

posted @ 2025-03-24 11:34 星河赵 阅读(173) 评论(0) 推荐(0)

2025年2月12日

Linux 版本百度网盘 BaiduPCS-Go

摘要: 链接地址: https://github.com/qjfoidnh/BaiduPCS-Go 使用百度 BDUSS 来登录百度帐号: BaiduPCS-Go login -bduss=1234567 上传文件/目录 BaiduPCS-Go upload <本地文件/目录的路径1> <文件/目录2> < 阅读全文

posted @ 2025-02-12 14:23 星河赵 阅读(190) 评论(0) 推荐(0)

2025年1月20日

linux 卸载硬盘

摘要: Linux 通过umount 卸载硬盘 sudo umount /dev/vdb 报错:umount: /data2: target is busy. 1. 查找占用的进程 使用 lsof 或 fuser 来查找哪些进程正在占用挂载点: 方法 1:使用 lsof lsof +D /挂载点路径 这会列 阅读全文

posted @ 2025-01-20 18:13 星河赵 阅读(178) 评论(0) 推荐(0)

2024年12月31日

Python selenium 爬虫设置

摘要: Linux 服务器上可以使用 Selenium 来进行网页爬取。为了在 Linux 服务器上使用 Selenium,通常需要做一些额外的配置,特别是与浏览器和浏览器驱动的兼容性相关 配置步骤 安装 Selenium: 你需要确保安装了 Selenium 库。可以使用以下命令来安装: pip inst 阅读全文

posted @ 2024-12-31 10:32 星河赵 阅读(129) 评论(0) 推荐(0)

2024年12月4日

两台linux 服务器如何共享一个磁盘

摘要: 两台linux服务器如何共享一个磁盘可以借用NFS工具 例如:服务端的系统是centos ip为101.0.3.3 客户端的系统是ubuntu ip为:101.0.3.13 如何通过nfs来共享服务端的/data目录? 要通过NFS在CentOS和Ubuntu之间共享 /data 目录,您需要在服务 阅读全文

posted @ 2024-12-04 18:12 星河赵 阅读(882) 评论(0) 推荐(0)

2024年12月3日

ubuntu 安装supervisor

摘要: 在 Ubuntu 上安装 Supervisor 作为进程管理工具,可以通过以下步骤完成: 1. 更新系统包 首先更新系统的软件包列表: sudo apt update && sudo apt upgrade -y 2. 安装 Supervisor 通过 apt 安装 Supervisor: sudo 阅读全文

posted @ 2024-12-03 10:32 星河赵 阅读(546) 评论(0) 推荐(0)

ubuntu 安装redis

摘要: 在 Ubuntu 上安装 Redis 可以通过以下步骤实现: 1. 更新系统包 在安装 Redis 之前,先更新系统的包列表: sudo apt update && sudo apt upgrade -y 2. 安装 Redis 使用 apt 安装 Redis: sudo apt install - 阅读全文

posted @ 2024-12-03 10:08 星河赵 阅读(1136) 评论(0) 推荐(0)

2024年11月7日

Linux 系统修改主机名

摘要: 更改主机名方法: 1.sudo vim /etc/hostname 更改此配置永久生效 2.sudo hostname ecsc2 使当前窗口生效 重新登录服务器即可。 阅读全文

posted @ 2024-11-07 09:55 星河赵 阅读(21) 评论(0) 推荐(0)

2024年10月22日

如何下载youtube 视频

摘要: 推荐工具:yt-dlp youtube-dl 已经不更新,推荐使用yt-dlp 安装方法: pip install yt-dlp 下载方法 -o 指定下载目录 以及对文件进行重命名 yt-dlp -o dst/123.mp4 https://www.youtube.com/watch?v=DwLXV 阅读全文

posted @ 2024-10-22 10:16 星河赵 阅读(952) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 59 下一页

导航