707 B
707 B
抖音直播间(web)弹幕抓取
Pre Requirements - Python3 - Charles
git clone https://github.com/gll19920817/tiktok_live
pip install -r requirements.txt
Open Charles > Tools > Mirror > Mirrors Setting
Enable Mirror
Save to a folder, eg:/Users/douyin/feeds/
Add location: https://live.douyin.com/webcast/im/fetch/
change main.py Watcher directory parameter to folder that Step 3 choose, eg: /Users/douyin/feeds/
python3 main.py
Final thoughts :
Save data to mongodb- Charles alternative: maybe mitmproxy & scapy