Get Douyin video/image download url or get details from video link
pip install requests
pip install py-mini-racer
import douyin
url = "https://www.douyin.com/video/7096447262678650148?previous_page=recommend&tab_name=recommend"
data = douyin.get_data(url)
#or
download_link = douyin.get_link(url) # result is string if video post or list if image post