上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 186 下一页
摘要: 景观类的壁纸下载时很费时间,查了一下路径,每个文件都是很大,是4k分辨率的视频,保存在这里 阅读全文
posted @ 2025-11-21 20:41 刘宏缔的架构森林 阅读(14) 评论(0) 推荐(0)
摘要: 一,代码: import requests from requests.exceptions import HTTPError from pyppeteer.launcher import connect def get_debugger_url(): url = "http://localhost 阅读全文
posted @ 2025-11-21 20:40 刘宏缔的架构森林 阅读(13) 评论(0) 推荐(0)
摘要: 一,默认不能从远程访问chrome的调试端口: 例子: $ google-chrome --remote-debugging-port=9222 --user-data-dir=/data/python/xianyu/userdata 通过局域网ip访问: 本地可以访问: 二,通过端口转发供远程访问 阅读全文
posted @ 2025-11-21 19:43 刘宏缔的架构森林 阅读(164) 评论(0) 推荐(0)
摘要: 一,项目 地址: https://github.com/unclecode/crawl4ai 二,通过pip安装: $ mkdir crawl4ai $ cd crawl4ai/ $ python3 -m venv venv $ source venv/bin/activate (venv) liu 阅读全文
posted @ 2025-11-20 22:10 刘宏缔的架构森林 阅读(106) 评论(0) 推荐(0)
摘要: 一,chrome启动调试端口 $ google-chrome --remote-debugging-port=9222 --user-data-dir=/data/python/xianyu/userdata DevTools listening on ws://127.0.0.1:9222/dev 阅读全文
posted @ 2025-11-20 12:08 刘宏缔的架构森林 阅读(35) 评论(0) 推荐(0)
摘要: 一,以无头方式打开时,调试端口会打开 $ google-chrome --headless --remote-debugging-port=9222 DevTools listening on ws://127.0.0.1:9222/devtools/browser/d445e793-89bf-42 阅读全文
posted @ 2025-11-20 10:37 刘宏缔的架构森林 阅读(265) 评论(0) 推荐(0)
摘要: 一,安装第三方库: $ pip install pyppeteer $ pip install beautifulsoup4 二,代码 import asyncio from pyppeteer import launch async def check(): browser = await lau 阅读全文
posted @ 2025-11-16 17:38 刘宏缔的架构森林 阅读(16) 评论(0) 推荐(0)
摘要: 一,代码: from flask import Blueprint,jsonify,render_template,request from app import milvus_client from pymilvus import FieldSchema, DataType, Collection 阅读全文
posted @ 2025-11-16 15:05 刘宏缔的架构森林 阅读(17) 评论(0) 推荐(0)
摘要: 一,安装第三方库 $ pip install sentence_transformers 二,创建collection并添加数据 from app import milvus_client from pymilvus import FieldSchema, DataType, CollectionS 阅读全文
posted @ 2025-11-16 13:20 刘宏缔的架构森林 阅读(12) 评论(0) 推荐(0)
摘要: 一,下载地址: all-MiniLM-L6-v2 https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2/tree/main 二,镜像地址: https://public.ukp.informatik.tu-darmstadt.de 阅读全文
posted @ 2025-11-16 13:17 刘宏缔的架构森林 阅读(537) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 186 下一页