## # 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 ## ## ## 更新履歴 ## ## 2008/05/01 ## : リリース # 取得したいページを列挙 - 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 # HTMLを取得 - module: Filter::get_html # HTMLからRSSに - module: myplugin::RSS::html2feed config: split: (.*?) title: prefix: .*?-(.*)-.*? link: date: description: (^) # 日付を正しいフォーマットに変換 - module: myplugin::RSS::elem_subs config: element: date regex: (\d+)年(\d+)月(\d+)日 to: \1-\2-\3T00:00:00+09:00 - module: myplugin::RSS::elem_subs config: element: date regex: -(\d)(?!\d) to: -0\1 # titleのゴミを取る - module: myplugin::RSS::elem_subs config: element: title regex: \s| |]*?> to: "" # 日付でソート - module: myplugin::RSS::date_sort - module: reverse # タイトルでキャッシュ - module: myplugin::RSS::elem_cache config: cachefile: cache/radio_animatetv_dl_cache.yaml element: title # ラジオをダウンロード - module: myplugin::download_radio config: app: C:\NetTransport 2\NetTransport.exe asxdir: asx/ savedir: C:\radio\
(?:<.*?>)?([\s\S]*?)(?:)?(?:<.*?>)?(.*?)(?:放送)?(?:<.*?>)?\s*