mirror of
https://github.com/hotyue/IP-Sentinel.git
synced 2026-08-06 21:23:30 +08:00
feat(data): 添加布法罗地区信息及相关链接 (#100)
feat(data): Add Buffalo node for New York (#100) Co-authored-by: godadom <godadom@users.noreply.github.com> Fixes: - lang_params: hl=en-US → hl=en (consistent with other US cities) - URL classification: local sites in white_urls, national sites in static_urls
This commit is contained in:
@@ -667,6 +667,10 @@
|
||||
{
|
||||
"id": "New_York",
|
||||
"name": "New York (纽约)"
|
||||
},
|
||||
{
|
||||
"id": "Buffalo",
|
||||
"name": "Buffalo (布法罗)"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
41
data/regions/US/NY/Buffalo.json
Normal file
41
data/regions/US/NY/Buffalo.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"region_name": "United States - Buffalo",
|
||||
"google_module": {
|
||||
"base_lat": 42.8864,
|
||||
"base_lon": -78.8784,
|
||||
"lang_params": "hl=en-US&gl=US",
|
||||
"valid_url_suffix": "com"
|
||||
},
|
||||
"trust_module": {
|
||||
"white_urls": [
|
||||
"https://www.buffalony.gov/",
|
||||
"https://www.buffalolib.org/",
|
||||
"https://www.buffalo.edu/",
|
||||
"https://www.wgrz.com/",
|
||||
"https://www.wkbw.com/",
|
||||
"https://www.buffalobills.com/",
|
||||
"https://www.nhl.com/sabres/",
|
||||
"https://www.visitbuffaloniagara.com/",
|
||||
"https://www.nfta.com/",
|
||||
"https://www.weather.gov/buf",
|
||||
"https://www.walmart.com/",
|
||||
"https://www.target.com/",
|
||||
"https://www.homedepot.com/",
|
||||
"https://www.chase.com/",
|
||||
"https://www.irs.gov/",
|
||||
"https://www.usa.gov/"
|
||||
],
|
||||
"static_urls": [
|
||||
"https://www.buffalony.gov/",
|
||||
"https://www.buffalolib.org/",
|
||||
"https://www.buffalo.edu/",
|
||||
"https://www.wgrz.com/",
|
||||
"https://www.wkbw.com/",
|
||||
"https://www.visitbuffaloniagara.com/",
|
||||
"https://www.weather.gov/buf",
|
||||
"https://www.walmart.com/",
|
||||
"https://www.target.com/",
|
||||
"https://www.usa.gov/"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user