diff options
author | SammysHP <sven@sammyshp.de> | 2012-05-24 11:51:35 +0200 |
---|---|---|
committer | SammysHP <sven@sammyshp.de> | 2012-05-24 11:51:35 +0200 |
commit | e9a1541d3cb497666e809158d80edcffbef86189 (patch) | |
tree | b55cf1089f396c9d24ffe3ca054a039272c1c017 /main | |
parent | cbccfcc170e2304f2c5c6bd431bd57f798938e8d (diff) | |
download | cgeo-e9a1541d3cb497666e809158d80edcffbef86189.zip cgeo-e9a1541d3cb497666e809158d80edcffbef86189.tar.gz cgeo-e9a1541d3cb497666e809158d80edcffbef86189.tar.bz2 |
Fix: Long description parsing
Diffstat (limited to 'main')
-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 23c855d..7dc14c2 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCConstants.java +++ b/main/src/cgeo/geocaching/connector/gc/GCConstants.java @@ -26,7 +26,7 @@ public final class GCConstants { * Patterns for parsing the result of a (detailed) search */ public final static Pattern PATTERN_HINT = Pattern.compile("<div id=\"div_hint\"[^>]*>(.*?)</div>"); - public final static Pattern PATTERN_DESC = Pattern.compile("<span id=\"ctl00_ContentBody_LongDescription\"><div class=\"UserSuppliedContent\">(.*?)</div>\\s*<p>\\s*</p>\\s*<p id=\"ctl00_ContentBody_hints\">"); + public final static Pattern PATTERN_DESC = Pattern.compile("<span id=\"ctl00_ContentBody_LongDescription\">(.*?)</span>\\s*</div>\\s*<p>\\s*</p>\\s*<p id=\"ctl00_ContentBody_hints\">"); public final static Pattern PATTERN_SHORTDESC = Pattern.compile("<span id=\"ctl00_ContentBody_ShortDescription\">(.*?)</span>\\s*</div>"); public final static Pattern PATTERN_GEOCODE = Pattern.compile("class=\"CoordInfoCode\">(GC[0-9A-Z]+)</span>"); public final static Pattern PATTERN_CACHEID = Pattern.compile("/seek/log\\.aspx\\?ID=(\\d+)"); |