diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-25 14:54:47 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-25 16:16:42 +0200 |
commit | a63c73d8f71a88a235a05d331d8cc91844f37c04 (patch) | |
tree | 5767fcae4b811466c2549213d3e621958d6cb544 | |
parent | eb7631ce260a42fb736868f8d45bde60311c750c (diff) | |
download | cgeo-a63c73d8f71a88a235a05d331d8cc91844f37c04.zip cgeo-a63c73d8f71a88a235a05d331d8cc91844f37c04.tar.gz cgeo-a63c73d8f71a88a235a05d331d8cc91844f37c04.tar.bz2 |
Fix #1363: style information has been removed from HTML
-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 1f593a8..ecaa964 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCConstants.java +++ b/main/src/cgeo/geocaching/connector/gc/GCConstants.java @@ -64,7 +64,7 @@ public final class GCConstants { // Info box top-right public static final Pattern PATTERN_LOGIN_NAME = Pattern.compile("\"SignedInProfileLink\">([^<]+)</a>"); - public static final Pattern PATTERN_MEMBER_STATUS = Pattern.compile("<span id=\"ctl00_litPMLevel\" style=\"display: block;\">([^<]+)</span>"); + public static final Pattern PATTERN_MEMBER_STATUS = Pattern.compile("<span id=\"ctl00_litPMLevel\">([^<]+)</span>"); /** Use replaceAll("[,.]","") on the resulting string before converting to an int */ public static final Pattern PATTERN_CACHES_FOUND = Pattern.compile("title=\"Caches Found\"[\\s\\w=\"/.]*/>\\s*([\\d,.]+)"); public static final Pattern PATTERN_AVATAR_IMAGE_PROFILE_PAGE = Pattern.compile("<img src=\"(http://img.geocaching.com/user/avatar/[0-9a-f-]+\\.jpg)\"[^>]*\\salt=\"Avatar\""); |