## # radio_animatetv_dl.yaml ## ## アニメイトTV Webラジオの番組ページから最新の放送を取得します。 ## ## ## ダウンロード ## ## http://bmky.net/product/pragger/#web_radio_dl ## ## ## 番組指定方法 ## ## const_listに取得したい番組のページを列挙してください。 ## ## - module: const_list ## config: ## - http://www.animate.tv/digital/web_radio/detail_xxx.html ## - http://www.animate.tv/digital/web_radio/detail_yyy.html ## - http://www.animate.tv/digital/web_radio/detail_xxx.html ## ## ## 更新履歴 ## ## 2009/09/1 ## : リニューアルに対応 ## ## 2008/11/17 ## : 正常に取得できないのを修正 ## : キャッシュ時の比較にURLを使っていなかったのを修正 ## : MPlayerへのパスを追加 ## ## 2008/05/01 ## : リリース # 取得したいページを列挙 - module: const_list config: - # HTMLを取得 - module: Filter::get_html # HTMLからRSSに - module: myplugin::RSS::html2feed config: split: (.*?Play) title: prefix: (.*?) - アニメイトTV link: Play date: description: # descriptionのゴミを取る - module: myplugin::RSS::elem_subs config: element: description regex: ^\s*|\s*$ to: "" # titleのゴミを取る - module: myplugin::RSS::elem_subs config: element: title regex: \s| |]*?>|- to: "" # 日付でソート - module: myplugin::RSS::date_sort - module: reverse # URLでキャッシュ - module: myplugin::RSS::elem_cache config: cachefile: cache/radio_animatetv_dl_cache.yaml element: link # ラジオをダウンロード - module: myplugin::download_radio config: app_mp: C:\MPlayer\mplayer.exe app_nt: C:\NetTransport 2\NetTransport.exe asxdir: asx/ savedir: C:\radio\
(.*?)(\d+/\d+/\d+) 放送([\s\S]*?)