From 778bc657ac86064418cd165e30b35d8b7e1b8455 Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 21 Aug 2006 21:53:02 +0000 Subject: [PATCH] --- crawler/kiss/src/channel-right-now-mobile.xsl | 56 +++++++++++++++++++ .../crawler/kiss/main/KissCrawler.java | 2 +- 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 crawler/kiss/src/channel-right-now-mobile.xsl diff --git a/crawler/kiss/src/channel-right-now-mobile.xsl b/crawler/kiss/src/channel-right-now-mobile.xsl new file mode 100644 index 00000000..15b0c141 --- /dev/null +++ b/crawler/kiss/src/channel-right-now-mobile.xsl @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + program-info + + + + + + + + + + + + + + + + + + + diff --git a/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java b/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java index 5d093899..3191ff24 100644 --- a/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java +++ b/crawler/kiss/src/org/wamblee/crawler/kiss/main/KissCrawler.java @@ -73,7 +73,7 @@ public class KissCrawler { * Regular expression for matching time interval strings in the retrieved * pages. */ - private static final String TIME_REGEX = "([0-9]{2}):([0-9]{2})[^0-9]*([0-9]{2}):([0-9]{2}).*"; + private static final String TIME_REGEX = "[^0-9]*([0-9]{2}):([0-9]{2})[^0-9]*([0-9]{2}):([0-9]{2}).*"; /** * Compiled pattern for the time regular expression. -- 2.31.1