Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dxsooo/taobao-cookies
暴力猴脚本获取淘宝页面cookies
https://github.com/dxsooo/taobao-cookies
tampermonkey taobao violentmonkey
Last synced: about 1 month ago
JSON representation
暴力猴脚本获取淘宝页面cookies
- Host: GitHub
- URL: https://github.com/dxsooo/taobao-cookies
- Owner: dxsooo
- Created: 2023-04-03T10:18:15.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-03T10:56:21.000Z (over 1 year ago)
- Last Synced: 2024-10-02T06:01:41.364Z (about 1 month ago)
- Topics: tampermonkey, taobao, violentmonkey
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 暴力猴脚本获取淘宝页面cookies
dddd,当前只支持商品详情页
## 使用方式
安装暴力猴(Violentmonkey)插件到浏览器后,添加新脚本,将 `item_cookies.js` 内容拷贝进去并保存
clone项目代码后,本地启动服务:
```bash
# 没有安装 flask 则需要先安装
# pip install flaskcd taobao-cookies
flask run
```打开任意的商品详情页(需要先手动登录),然后启用本脚本并手动刷新页面一次
cookie 将每隔20s追加写入到当前路径的 `cookies.txt`
## 注意
1. 代码中的时间间隔不宜减少,dddd
2. 没有长时间测试过,不保证淘宝侧没有其他限制措施## 免责声明
本代码仅供学习参考,后续基于cookie的任何行为和本项目无关