まんがの森の発売日リストをPlaggerで取得して、そのリストとお知らせして欲しいリストを比較してマッチしたらTwitterに「今日発売だよ!」ってお知らせするスクリプトを書いたから公開してみる。 まんがの森のリスト取得にはSweetPotatoさんのCustomFeed::Manganomoriを使わせていただいた。CSVで出力したいからyamlはこんな感じ。 global: assets_path: /path/to/assets timezone: Asia/Tokyo log: level: debug plugins: - module: CustomFeed::Manganomori - module: Publish::CSV config: dir: /path/to/dir encoding: utf-8 filename: comics.csv mode: append
![Muibrog: 名古屋の天気予報ボット作った。](https://cdn-ak-scissors.b.st-hatena.com/image/square/06a15c64ba0ceec233d86d71001ebb29a9dcbf5d/height=288;version=1;width=512/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Ftheme%2Fog-image-1500.png)