# ~~[11/17 已復活]~~ [crawlPKGET.user.js](https://gist.github.com/x3388638/88605f6e9bc17118ecace43482c7ae8b)
在 [pkget](https://pkget.com/) 網頁植入色色的 js 取得特定區域當前的神奇寶貝並推送通知至指定 Telegram 廣播頻道
#### 使用前
> 
#### 使用後
> 
## 安裝步驟
### 1. 安裝 Chrome 擴充功能 `Tampermonkey`
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=zh-TW
### 2. 安裝腳本
點選以下連結
https://gist.github.com/x3388638/88605f6e9bc17118ecace43482c7ae8b
並按下右邊按鈕 `Raw`

接著按下安裝

### 3. 修改設定
開啟 Tampermonkey 找到剛剛安裝的腳本
修改有被註解需要填寫處然後儲存
```
area: 預設掃描範圍 (Lat 是緯度; Lng 是經度; Max 是最大; Min 是最小)
v2: Max Lat / neLat
v3: Max Lng / neLng
v4: Min Lat / swLat
v5: Min Lng / swLng
_whiteList: 通知白名單
botApiKey: 應該看得懂吧
chat_id: 就是 chat id 或是 channel id (@someChannel)
```

### 4. 設定範圍並啟動
開啟 https://pkget.com/
左上角會自動帶入剛剛填的預設範圍
也可自行輸入
或是按下 `GET LOCATION` 會自動填入當前你所看到的範圍
然後按下 `START`

### 5. 坐等通知

## 備註
- 要改顯示文字請從這下手

- 在不改變 google map zoom 下想看更大範圍請用 `ctrl` + `-`