跳至内容

孙成新的个人博客

  • 首页
  • 自我介绍

Cloudflare tunnel把本地服务绑定到指定域名上

在 2025年9月9日2025年9月9日 上张贴 由 cx_sun发表回复

前提 步骤 1. 下载cloudflared 2. 通过命令行登录/认证 cloudflare 3. 创建tu…

有用的Mac/Linux命令

在 2025年8月29日2025年8月29日 上张贴 由 cx_sun发表回复

从文件里找特定内容: grep -rn ‘11268247’ *.csv 查找端口被哪个进程占用netstat…

Playwright启动浏览器的几种方式

在 2025年8月28日2025年8月28日 上张贴 由 cx_sun发表回复

def get_browser_websocket_url(): “””Get the browser-lev…

Playwright打开新页面-expect_page()使用

在 2025年8月20日2025年8月20日 上张贴 由 cx_sun发表回复

在使用 Playwright 的 Python API 处理页面链接打开新页面时,可以使用 context.e…

几个有意义的图案符号✅ ⭐❗✨

在 2025年8月20日2025年8月20日 上张贴 由 cx_sun发表回复

状态指示符的Unicode字符 以下是一些表示“错误”、“警告”、“信息”等状态的Unicode字符 注意事项

发送消息到 Slack 频道或个人(以 Python 为例)

在 2025年8月15日2025年8月15日 上张贴 由 cx_sun发表回复

Slack 提供了多种方式来发送消息,包括使用 Incoming Webhooks(适合简单发送到频道)和 S…

Playwright跟踪调试-录像(video)、截图(screenshot)和跟踪(trace)

在 2025年8月8日2025年8月13日 上张贴 由 cx_sun发表回复

在 Playwright 的 Python API 中,video、screenshot 和 trace 是用…

Playwright主要接口-Browser, BrowserContext, Page及Locator

在 2025年8月8日2025年8月8日 上张贴 由 cx_sun发表回复

Playwright 是一个强大的自动化测试和网页抓取工具,支持 Python 的同步和异步 API。它提供了…

如何抓取需要登录账号的数据?

在 2025年8月7日2025年8月8日 上张贴 由 cx_sun发表回复

方法一: 先登录 方法二:携带登录好的数据(cookies, local_storage, session) …

Git amend使用

在 2025年8月6日2025年8月8日 上张贴 由 cx_sun发表回复

基本用法 常见使用场景 注意事项 但要谨慎,强制推送可能会影响协作者。 示例 其他相关命令 查看 git re…

文章导航

← 早期文章

近期文章

  • Cloudflare tunnel把本地服务绑定到指定域名上
  • 有用的Mac/Linux命令
  • Playwright启动浏览器的几种方式
  • Playwright打开新页面-expect_page()使用
  • 几个有意义的图案符号✅ ⭐❗✨

近期评论

  1. 孙成新 发表在 XPath简介

归档

  • 2025 年 9 月
  • 2025 年 8 月
  • 2025 年 7 月

分类

  • ai
  • cloudflare
  • docker
  • git
  • mac
  • Python
  • web
  • web crawler
  • wordpress
  • 随笔
Copyright 2025 , 孙成新的个人博客 , Theme by Tech Reviews