Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 816 Bytes

HOW_TO_UPDATE_SHOPID.md

File metadata and controls

28 lines (17 loc) · 816 Bytes

返回 README

怎么生成shopid.yaml

假设你的Cookiept_key=123465abc;pt_pin=jd_123987

运行python3 traversal.py [cookie.pt_key] [cookie.pt_pin]例:

python3 traversal.py 123465abc jd_123987

或者在tools/traversal.py里编辑

COOKIE = "" or "pt_key=" + sys.argv[1] + ";pt_pin=" + sys.argv[2]

两个引号之间添加你的cookie,例:

COOKIE = "pt_key=123465abc;pt_pin=jd_123987" or "pt_key=" + sys.argv[1] + ";pt_pin=" + sys.argv[2]

那么就会在同级目录生成shopid.yaml,你可以将这个用于遍历。一般来说https://antonvanke.github.io/JDBrandMember/shopid.yaml是更新日最全的

:生成的shopid.yamltools目录下,你可能需要移动到项目根目录才能用于遍历