795 B
795 B
抖音直播间(web)弹幕抓取
Screenshot
Pre Requirements
Python3 & Charles
Installation
git clone https://github.com/gll19920817/douyin_web_live
pip install -r requirements.txt
Open Charles > Tools > Mirror > Mirrors Setting
Enable Mirror
Save to a folder, eg:/Users/username/charles/autosave
Add location: https://live.douyin.com/webcast/im/fetch/
Change /main.py Watcher Class directory parameter to folder that Step 3 choose, eg: /Users/username/charles/autosave
python3 main.py
Final thoughts
- Persists data to db, eg: mongo ✅
- Charles alternative: maybe mitmproxy & scapy