xhs_crawler/config.py

15 lines
379 B
Python
Raw Normal View History

# config file
platform = "xhs"
keyword = "健身"
login_type = "cookie" # qrcode or phone or cookie
login_phone = "" # your login phone
# If it's on the Xiaohongshu platform, only the web_session cookie will be kept.
# web_session=040069b2acxxxxxxxxxxxxxxxxxxxx;
cookies = ""
# redis config
redis_db_host = "redis://127.0.0.1"
redis_db_pwd = "123456" # your redis password