|
|
hace 1 mes | |
|---|---|---|
| .cursor | hace 1 mes | |
| bat-tool | hace 1 mes | |
| python | hace 1 mes | |
| resources | hace 1 mes | |
| workplace | hace 1 mes | |
| .gitignore | hace 1 mes | |
| README.md | hace 1 mes | |
| bring-cmd-window-foreground.ps1 | hace 1 mes | |
| config.ini | hace 1 mes | |
| requirements.txt | hace 1 mes | |
| start.bat | hace 1 mes |
本仓库在 workplace/ 下开发:用浏览器自动化根据关键词在小红书搜索结果中定位并处理内容,目标为根据关键词搜索排名最高的笔记,并采集所需素材。
根据 Playwright 在浏览器内获取元素位置,再通过「元素位置 + 屏幕尺寸 + 浏览器窗口大小」换算出元素在屏幕上的具体坐标,通过模仿真人操作(PyAutoGUI)获取想要的素材。
Playwright(Python)
pip install playwright
python -m playwright install
PyAutoGUI
pip install pyautogui