c514e81c88b5de22a8e6d4c87b86982a1b0951d7
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / watchers / SavoyTicketWatcher.java
1 package net.pterodactylus.rhynodge.watchers;
2
3 import static java.util.Arrays.asList;
4
5 import net.pterodactylus.rhynodge.Watcher;
6 import net.pterodactylus.rhynodge.filters.HtmlFilter;
7 import net.pterodactylus.rhynodge.filters.webpages.savoy.SavoyMerger;
8 import net.pterodactylus.rhynodge.filters.webpages.savoy.SavoyTicketsFilter;
9 import net.pterodactylus.rhynodge.queries.HttpQuery;
10
11 /**
12  * {@link Watcher} implementation that shows tickets sold in the Savoy theatre.
13  *
14  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
15  */
16 public class SavoyTicketWatcher extends DefaultWatcher {
17
18         public SavoyTicketWatcher() {
19                 super(
20                                 new HttpQuery("https://savoy.premiumkino.de/programmwoche"),
21                                 asList(
22                                                 new HtmlFilter(),
23                                                 new SavoyTicketsFilter()
24                                 ),
25                                 new SavoyMerger()
26                 );
27         }
28
29 }