Add filter to torrentz.eu result pages.
[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.SavoyTicketsFilter;
8 import net.pterodactylus.rhynodge.queries.HttpQuery;
9 import net.pterodactylus.rhynodge.triggers.AlwaysTrigger;
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("http://www.savoy-filmtheater.de/filmprogramm.html"),
21                                 asList(
22                                                 new HtmlFilter(),
23                                                 new SavoyTicketsFilter()
24                                 ),
25                                 new AlwaysTrigger()
26                 );
27         }
28
29 }