– RS_ParseWeatherData.js
- タイトル
- 作者名
- biud436様
- ヘルプ
-
==========================================================================
Script calls
==========================================================================
This function allows you to parse the html data through callback function.
RS.Weather.parseHTML(function(doc) {
Find the <div> element in target document
var inf = doc.querySelector('.inf');
Set the game title using parsing the text for weather
document.title = inf.firstElementChild.nextElementSibling.textContent;
});
==========================================================================
Version Log
==========================================================================
2018.04.28 (v1.0.0) - First Release. - パラメータ
-
param Default Platform text Default param URL text URL parent Default Platform desc default http://m.kma.go.kr/m/eng/observation/observation_01.jsp param NodeJS param options text Options parent NodeJS type struct<NodeJSOptions> desc default {"host":"m.kma.go.kr","port":"80","path":"/m/eng/observation/observation_01.jsp"} - ライセンス表記
- MIT License
Copyright (c) 2018 biud436
Free for commercial and non commercial use.
紹介ページ https://github.com/biud436/MV/blob/master/RS_ParseWeatherData.js