使用 Playwright + 阿里云 OCR 自动化抓取运动数据并在 Hexo 展示
最近我需要将某个运动网站(RQ Run)上的个人训练记录同步到我的 Hexo 博客中。由于该网站需要登录才能查看详细数据,并且登录过程包含验证码,因此我使用 Node.js 版的 Playwright 编写了一个自动化脚本,结合阿里云 OCR 服务识别验证码,实现了数据的自动抓取,并通过 EJS 模...
祝君万事如意心想事成!
最近我需要将某个运动网站(RQ Run)上的个人训练记录同步到我的 Hexo 博客中。由于该网站需要登录才能查看详细数据,并且登录过程包含验证码,因此我使用 Node.js 版的 Playwright 编写了一个自动化脚本,结合阿里云 OCR 服务识别验证码,实现了数据的自动抓取,并通过 EJS 模...
When developing web-based applications, we often run into the problem of front-end JavaScript being unable to read resources stored on Alibaba Cloud O...
在开发基于 Web 的应用时,我们经常会遇到前端 JavaScript 代码无法读取存储在阿里云 OSS(Object Storage Service)上的资源的问题。本文将详细记录一次典型的 CORS(跨域资源共享)问题的排查过程及解决方案。 问题描述场景:我们编写了一个 Node.js 脚本抓取...
作为一名热爱跑步的程序员,我一直想把自己的马拉松经历以一种独特的方式呈现在博客上。普通的文字和静态图片虽然能记录当下,但无法还原那 21.0975 公里的心路历程。 于是,我决定在博客的首屏实现一个动态的运动轨迹可视化效果:以高德地图为画布,实时绘制 GPX 轨迹,并同步展示心率、配速、步频等专业运...
As a programmer who loves running, I have always wanted to present my marathon experiences on the blog in a unique way. Ordinary text and static image...
Recently I needed to sync my personal training records from a certain sports website (RQ Run) into my Hexo blog. Because the site requires login to vi...
When developing web-based applications, we often run into the problem of front-end JavaScript being unable to read resources stored on Alibaba Cloud O...
When developing web-based applications, we often run into the problem of front-end JavaScript being unable to read resources stored on Alibaba Cloud O...
As a programmer who loves running, I have always wanted to present my marathon experiences on the blog in a unique way. Ordinary text and static image...
As a programmer who loves running, I have always wanted to present my marathon experiences on the blog in a unique way. Ordinary text and static image...