https://github.com/xinyoulinxi/jike_robot
A jike web crawler, get all contents and images in your jike app, all by python
https://github.com/xinyoulinxi/jike_robot
jike python
Last synced: 2 months ago
JSON representation
A jike web crawler, get all contents and images in your jike app, all by python
- Host: GitHub
- URL: https://github.com/xinyoulinxi/jike_robot
- Owner: xinyoulinxi
- License: gpl-3.0
- Created: 2024-01-18T11:57:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-27T15:22:25.000Z (12 months ago)
- Last Synced: 2025-01-19T21:49:02.388Z (4 months ago)
- Topics: jike, python
- Language: Python
- Homepage:
- Size: 13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 说明
脚本主要用于即刻的数据备份,只用于自己的数据备份当前脚本在windows下运行需要关闭chrome应用,用于读取cookies,不然拿不到句柄
# 主要功能
- 输入某人的用户id,获取这个人的下面信息
- 昵称、头像、个人简介等个人数据
- 评论数、点赞数、转发数
- 所有的即刻动态相关数据和图片信息
- 输出到out目录下# 支持平台
- macOs
- windows# 使用
在config.json中配置:
```
"user_name":"", // 用户id
"loop_count":-1, // 拉多少页的数据,-1代表拉取到没有下一页为止
"need_pic": true // 是否需要拉帖子的图片
```
目标用户id在网页版即刻的主页中拿取,记得运行脚本之前在chrome浏览器中登录一次网页版即刻,后续将会自动获取cookie并拉取,无需额外配置依赖:
```
browser_cookie3
```
然后运行:```
python3 main.py
```