diff options
author | BudBundi <budbundi@googlemail.com> | 2012-06-27 14:04:21 +0300 |
---|---|---|
committer | BudBundi <budbundi@googlemail.com> | 2012-06-27 14:04:21 +0300 |
commit | aeee3f92c1c0b7b5c28c5e5d47a43a6786d766b3 (patch) | |
tree | ccf6715ecbe809fcf7e6aa700c5481e37858e234 /main/src/cgeo | |
parent | 107f0006106ec9ffff15175364543f6f476b3613 (diff) | |
download | cgeo-aeee3f92c1c0b7b5c28c5e5d47a43a6786d766b3.zip cgeo-aeee3f92c1c0b7b5c28c5e5d47a43a6786d766b3.tar.gz cgeo-aeee3f92c1c0b7b5c28c5e5d47a43a6786d766b3.tar.bz2 |
Update pattern for type after update of 26.6.2012
Diffstat (limited to 'main/src/cgeo')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCConstants.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCConstants.java b/main/src/cgeo/geocaching/connector/gc/GCConstants.java index 5cbe479..bb01b2f 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCConstants.java +++ b/main/src/cgeo/geocaching/connector/gc/GCConstants.java @@ -42,7 +42,7 @@ public final class GCConstants { public final static Pattern PATTERN_FOUND_ALTERNATIVE = Pattern.compile("<div class=\"StatusInformationWidget FavoriteWidget\""); public final static Pattern PATTERN_FOUND_DATE = Pattern.compile("You logged this as Found on ([^.]+?)\\.[^<]*</a>[^<]*</p>"); public final static Pattern PATTERN_OWNER_DISPLAYNAME = Pattern.compile("<div id=\"ctl00_ContentBody_mcd1\">[^<]+<a href=\"[^\"]+\">([^<]+)</a></div>"); - public final static Pattern PATTERN_TYPE = Pattern.compile("<img src=\"[^\"]*/WptTypes/\\d+\\.gif\" alt=\"([^\"]+?)\" title=\"[^\"]+\" width=\"32\" height=\"32\""); + public final static Pattern PATTERN_TYPE = Pattern.compile("<img src=\"[^\"]*/WptTypes/\\d+\\.gif\" alt=\"([^\"]+?)\" title=\"[^\"]+\" />"); public final static Pattern PATTERN_HIDDEN = Pattern.compile("<div id=\"ctl00_ContentBody_mcd2\">\\W*Hidden[\\s:]*([^<]+?)</div>"); public final static Pattern PATTERN_HIDDENEVENT = Pattern.compile("Event\\s*Date\\s*:\\s*([^<]+)<div id=\"calLinks\">", Pattern.DOTALL); public final static Pattern PATTERN_FAVORITE = Pattern.compile("<div id=\"pnlFavoriteCache\">"); // without 'class="hideMe"' inside the tag ! |