sudo apt install -y --no-install-recommends python3-virtualenv python-is-python3 python3-pip
python3 -m virtualenv --python="$(command -v python3)" .env
source .env/bin/activate
pip install beautifulsoup4 lxml requests requests-html
cd ~ && git clone https://github.com/whitel/douyin_downloader
- (on pc)goto https://douyin.com/ and select a video, using ctrl-s to save current web page
- move .html file to ~/douyin_downloader/htmls (create one if not exist)
- execute
make download
in ~/douyin_downloader - the result is in ~/douyin_downloader/result
- solve douyin.com captcha problem - by using http headers
- download pictures content - don't do that right now
- parse javascript in python or linux environment
- record download status
- handle common errors