Update README.md
This commit is contained in:
parent
febaf8599a
commit
ed10be27b5
26
README.md
26
README.md
@ -1,19 +1,25 @@
|
|||||||
**抖音直播间(web)弹幕抓取**
|
## 抖音直播间(web)弹幕抓取
|
||||||
|
|
||||||
|
***Screenshot***
|
||||||
|
|
||||||

|

|
||||||
> Pre Requirements
|
|
||||||
- Python3
|
|
||||||
- Charles
|
|
||||||
|
|
||||||
1. `git clone https://github.com/gll19920817/tiktok_live`
|
***Pre Requirements***
|
||||||
|
|
||||||
|
``Python3 & Charles``
|
||||||
|
|
||||||
|
***Installation***
|
||||||
|
|
||||||
|
1. `git clone https://github.com/gll19920817/douyin_web_live`
|
||||||
2. `pip install -r requirements.txt`
|
2. `pip install -r requirements.txt`
|
||||||
3. `Open Charles > Tools > Mirror > Mirrors Setting`
|
3. `Open Charles > Tools > Mirror > Mirrors Setting`
|
||||||
- `Enable Mirror`
|
- `Enable Mirror`
|
||||||
- `Save to a folder, eg:/Users/douyin/feeds/`
|
- `Save to a folder, eg:/Users/username/charles/autosave`
|
||||||
- `Add location: https://live.douyin.com/webcast/im/fetch/`
|
- `Add location: https://live.douyin.com/webcast/im/fetch/`
|
||||||
4. `change main.py Watcher directory parameter to folder that Step 3 choose, eg: /Users/douyin/feeds/`
|
4. `Change /main.py Watcher Class directory parameter to folder that Step 3 choose, eg: /Users/username/charles/autosave`
|
||||||
5. `python3 main.py`
|
5. `python3 main.py`
|
||||||
|
|
||||||
Final thoughts :
|
***Final thoughts***
|
||||||
1. ~~Save data to mongodb~~
|
1. Persists data to db, eg: mongo ✅
|
||||||
2. Charles alternative: maybe mitmproxy & scapy
|
2. Charles alternative: maybe mitmproxy & scapy
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user