Download Scenario JSON

394

382

845

...

UK TV Air Dates

Email EventFormatting Trigger Digest Pushbullet Website

Basic Description

This scenario will scrape a list of TV shows and their UK air dates from www.geektown.co.uk/uk-air-dates once every 7 days, filter them for the shows we care about (listed below) and only those that have confirmed dates (i.e. shows with “no exact date or no exact time will not be added to the list”), then format them nicely, concatenate them into one event and emit that to wherever you like (default is via PushBullet and Email)

Agent Breakdown

Website Agent: Scrapes and then parses all data from http://www.geektown.co.uk/uk-air-dates/,

Trigger Agent: Filters the scraped data for the TV Shows we care about,

Event Formatting Agent: Formats the results to make each one easily readable and sensible

Digest Agent: Concatenates the results together with an empty line in between to make them look nice in a list

PushBullet Agent: Sends the final result to PushBullet, and by extension, all your devices.

Email Agent: Sends the final result to the email address of your choosing

Required Configuration

You will need to create the following credentials:

Name = pushbullet_api_key, Mode = Text, Value = Your Pushbullet API Key

Name = email_recipients, Mode = Text, Value = A comma separated list of email addresses wrapped in quotes, i.e. "email1@gmail.com", "email2@gmail.com"

Additional Info

The Trigger Agent filters on the following TV shows by default:

Iron Fist, Designated Survivor, DC’s Legends of Tomorrow, Once Upon A Time, Luke Cage, Elementary, Criminal Minds, Supergirl, The Flash, Arrow, Grey’s Anatomy, The Blacklist, Blindspot, Doctor Who, Sense8, Prison Break, The Punisher, Between, Stranger Things, Daredevil, Jessica Jones, Game Of Thrones, Outlander, Shadowhunters, Lucifer, NCIS: Los Angeles, Hawaii Five-0, Madam Secretary, The Shannara Chronicles, Marvel’s The Inhumans, Orange is the New Black

Agent Event Flow a5603831880300639675035980 Send Final GeekTown UK TV Air Dates (Email) a782856329986410653987 Format GeekTown UK TV Air Dates Filtered Results a904102922655393609646 Collate Filtered, Formatted GeekTown UK TV Air Dates a782856329986410653987->a904102922655393609646 a904102922655393609646->a5603831880300639675035980 a9301284372447492 Send Final GeekTown UK TV Air Dates (PushBullet) a904102922655393609646->a9301284372447492 a6128761200968472101168 Filter GeekTown UK TV Air Dates Results a6128761200968472101168->a782856329986410653987 a986024145373090884358926 Get GeekTown UK TV Air Dates a986024145373090884358926->a6128761200968472101168

Send Final GeekTown UK TV Air Dates (Email) (EmailAgent)

false
false


Format GeekTown UK TV Air Dates Filtered Results (EventFormattingAgent)

432000
true
false


Filter GeekTown UK TV Air Dates Results (TriggerAgent)

86400
false
false


Collate Filtered, Formatted GeekTown UK TV Air Dates (DigestAgent)

every_5h
604800
true
false


Send Final GeekTown UK TV Air Dates (PushBullet) (PushbulletAgent)

false
false


Get GeekTown UK TV Air Dates (WebsiteAgent)

every_7d
3600
false
false