config.hirasawa.yaml(暫定)
TESLAKITE FREE MP3s
上記のページにあるmp3をpodcastするためのyaml。
assets/plugins/CustomFeed-Configにteslakite.yamlとか作成。
author: Hazy-moon match: http://www?.teslakite?.com/freemp3s/ extract: <a href="(http://teslakite.ham-radio-op.net:8080/freemp3s/[^"]*)"><font color="white">(.*?)</font> extract_capture: link title
config.hirasawa.yaml
global: assets_path: /Users/starless/plagger/assets timezone: Asia/Tokyo cache: base: /Users/starless/plagger/temp/ log: level: debug plugins: - module: Subscription::Config config: feed: - url: http://www.teslakite.com/freemp3s/index.htm - module: CustomFeed::Config - module: Filter::FetchEnclosure config: dir: /Users/starless/plagger/temp/fetch-images fake_referer: referer: http://www.teslakite.com/freemp3s/index.htm - module: Filter::FindEnclosures - module: Publish::Feed config: format: RSS dir: /Users/starless/Sites/Plagger/feed filename: hirasawa.rss
Filter::FetchEnclosureでfake_refererを使うのがポイントだったらしい。
問題点。