Skip to content

Instantly share code, notes, and snippets.

@GitHub30
Created May 27, 2022 11:59
Show Gist options
  • Save GitHub30/da6ae01c8c7de101919fe7d3ddb65352 to your computer and use it in GitHub Desktop.
Save GitHub30/da6ae01c8c7de101919fe7d3ddb65352 to your computer and use it in GitHub Desktop.
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 3 columns, instead of 4 in line 6.
緯度,経度,ラベル
35.173396,136.884284,Aerial View Meieki Testing Center/aerialview 名駅テスト
36.323295,139.006797,Takasaki-Aramachi Test Center
43.0692,141.347513,Sapporo Testing Center/イーエデュケーションズ札幌テスティングセンター
33.589744,130.392672,Tenjin Test Center / 天神会場
39.700598,141.143853,Morioka Saien Test Center
35.577432,139.659372,Breakthrough Co., Ltd_Musashikosugi
35.467716,139.61863,Breakthrough Co., Ltd_Yokohama/ブレイクスルー 横浜テストセンター
35.697177,139.776405,Akihabara Showadoriguchi Test Center/テストセンター秋葉原昭和通
35.682132,139.7723,iSERVE Yaesu Nihonbashi Test Center/iSERVE 八重洲日本橋テ
35.651744,139.747347,Tamachi Test Center/マテリアル田町テストセンター
35.656895,139.695964,iSERVE SHIBUYA Test Center
35.689956,139.734261,Ichigaya Test Center
35.71304,139.705161,Takadanobaba Testing Center
35.732537,139.71314,iSERVE Ikebukuro East Test Center / iSERVE 池袋東口テスト
34.701966,135.50317,PC College Higashiumeda School/PC カレッジ 東梅田校
// https://www.webassessor.com/form/searchTestingCentersForTest.do
var labels = [...document.querySelectorAll("#testingCenter > tbody > tr > td:nth-child(2)")].map(td=>td.textContent)
copy([...document.querySelectorAll("#testingCenter > tbody > tr > td:nth-child(7) > a")].map((a, i)=>Object.fromEntries(new URLSearchParams(a.search)).q + ',' + labels[i]).join('\n'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment