use python to catch the information from ziru
git clone [email protected]:liangyuqi/ziru_room.git
python --version
(mac自带)
brew install python
pip --version
pip 是 Python 包管理工具,该工具提供了对Python 包的查找、下载、安装、卸载的功能
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
pip freeze >package.txt
sudo pip install -r package.txt
cd index
chmod a+x ziru_room.py
python ziru_room.py
由于自如页面经常改版,所以本次爬取页面结构参考template.html,后续可根据最新代码结构自行修改爬取逻辑
** please star it , thx **
** [email protected] **