Skip to content

Instantly share code, notes, and snippets.

@lamixer
lamixer / agents.yml
Last active December 19, 2015 17:19
Attempt to allow Huginn to pull Wunderground data for City Country instead of zipcode. agents.yml is huginn/spec/fixtures/agents.yml. Line 72 of the modified agent is suspect - what is syntax for specifying multiple options in forecast_for?
jane_website_agent:
type: Agents::WebsiteAgent
user: jane
schedule: "5pm"
name: "ZKCD"
options: <%= {
:url => "http://trailers.apple.com/trailers/home/rss/newtrailers.rss",
:expected_update_period_in_days => 2,
:mode => :on_change,
:extract => {