## # radio_lantis_dl.yaml ## ## Lantis web radioの番組ページから最新の放送を取得します。 ## ## ## ダウンロード ## ## http://bmky.net/product/pragger/#web_radio_dl ## ## ## 番組指定方法 ## ## elem_grepにて、取得したい番組タイトルを指定してください。 ## ## - module: myplugin::RSS::elem_grep ## config: ## regex: "ラジオタイトル|ほげほげ" ## element: title ## ## ## 更新履歴 ## ## 2008/05/01 ## : リリース # 取得するページのURL - module: const_list config: - http://lantis-net.com/ # HTMLを取得 - module: Filter::get_html # HTMLからRSSに - module: myplugin::RSS::html2feed config: capture: 各番組の詳細はバナーをクリック!(.*?)関連番組 split:
(.*?)\s*

\s*
title:

]*?>([\s\S]*?

([\s\S]*?[\s\S]*?|\r|\n" to: "" element: title - module: myplugin::RSS::elem_subs config: regex: "| " to: " " element: title # 保存 - module: RSS::save config: title: Lantis web radio link: Lantis web radio filename: temp/radio_lantis_dl1.rdf # 空にする - module: myplugin::empty # 取得するページのURL - module: const_list config: - http://lantis-net.com/ # HTMLを取得 - module: Filter::get_html # HTMLからRSSに - module: myplugin::RSS::html2feed config: capture: 各番組の詳細はバナーをクリック!(.*?)関連番組 split:
(.*?)\s*

\s*
title:

]*?>(.*?

([\s\S]*?[\s\S]*?|\r|\n" to: "" element: title - module: myplugin::RSS::elem_subs config: regex: "| " to: " " element: title # 保存 - module: RSS::save config: title: Lantis web radio link: Lantis web radio filename: temp/radio_lantis_dl2.rdf ## rdfを統合 - module: RSS::load config: url: - temp/radio_lantis_dl1.rdf - temp/radio_lantis_dl2.rdf # 取得したい番組を指定 - module: myplugin::RSS::elem_grep config: regex: "ひだまりラジオ" element: title # URLでキャッシュ - module: myplugin::RSS::elem_cache config: cachefile: cache/radio_lantis_dl_cache.yaml element: link # ラジオをダウンロード - module: myplugin::download_radio config: app: C:\NetTransport 2\NetTransport.exe asxdir: asx/ savedir: C:\radio\