You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
louisyoungx 8aa27b8fae refactor(framework): change framework to tinyserver 3 years ago
..
1.北京.txt refactor(framework): change framework to tinyserver 3 years ago
2.上海.txt refactor(framework): change framework to tinyserver 3 years ago
3.天津.txt refactor(framework): change framework to tinyserver 3 years ago
4.重庆.txt refactor(framework): change framework to tinyserver 3 years ago
5.河北.txt refactor(framework): change framework to tinyserver 3 years ago
6.山西.txt refactor(framework): change framework to tinyserver 3 years ago
7.河南.txt refactor(framework): change framework to tinyserver 3 years ago
8.辽宁.txt refactor(framework): change framework to tinyserver 3 years ago
9.吉林.txt refactor(framework): change framework to tinyserver 3 years ago
10.黑龙江.txt refactor(framework): change framework to tinyserver 3 years ago
11.内蒙古.txt refactor(framework): change framework to tinyserver 3 years ago
12.江苏.txt refactor(framework): change framework to tinyserver 3 years ago
13.山东.txt refactor(framework): change framework to tinyserver 3 years ago
14.安徽.txt refactor(framework): change framework to tinyserver 3 years ago
15.浙江.txt refactor(framework): change framework to tinyserver 3 years ago
16.福建.txt refactor(framework): change framework to tinyserver 3 years ago
17.湖北.txt refactor(framework): change framework to tinyserver 3 years ago
18.湖南.txt refactor(framework): change framework to tinyserver 3 years ago
19.广东.txt refactor(framework): change framework to tinyserver 3 years ago
20.广西.txt refactor(framework): change framework to tinyserver 3 years ago
21.江西.txt refactor(framework): change framework to tinyserver 3 years ago
22.四川.txt refactor(framework): change framework to tinyserver 3 years ago
23.海南.txt refactor(framework): change framework to tinyserver 3 years ago
24.贵州.txt refactor(framework): change framework to tinyserver 3 years ago
25.云南.txt refactor(framework): change framework to tinyserver 3 years ago
26.西藏.txt refactor(framework): change framework to tinyserver 3 years ago
27.陕西.txt refactor(framework): change framework to tinyserver 3 years ago
28.甘肃.txt refactor(framework): change framework to tinyserver 3 years ago
29.青海.txt refactor(framework): change framework to tinyserver 3 years ago
30.宁夏.txt refactor(framework): change framework to tinyserver 3 years ago
31.新疆.txt refactor(framework): change framework to tinyserver 3 years ago
32.台湾.txt refactor(framework): change framework to tinyserver 3 years ago
84.钓鱼岛.txt refactor(framework): change framework to tinyserver 3 years ago
52993.港澳.txt refactor(framework): change framework to tinyserver 3 years ago
53283.海外.txt refactor(framework): change framework to tinyserver 3 years ago
README.md refactor(framework): change framework to tinyserver 3 years ago
get_area_id.py refactor(framework): change framework to tinyserver 3 years ago

README.md

地址id如何获取?

方法一

在本文件夹中根据地址查询对应的文件。

方法二

在商品页面(例如 https://item.jd.com/1178879.html) 打开开发者工具,在 Console 中执行以下 Javascript 代码:

var el = document.getElementsByClassName("ui-area-text")[0]
var area_name = el.getAttribute("title")
var area_id = el.getAttribute("data-id").replace(/-/g, "_")
console.log(area_name)
console.log(area_id)

方法三

运行本文件夹中的 Python 脚本,根据提示逐级选择区域。感谢 @6r6 提供脚本~

python get_area_id.py