diff options
author | rsudev <rasch@munin-soft.de> | 2015-03-26 22:33:05 +0100 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2015-03-26 22:33:05 +0100 |
commit | ef3d8236a1ae7440410f8cbb4d86dd483a3fdb26 (patch) | |
tree | 3fdac23266c371a3cdfe9f196b089e3f39ec40ea /main | |
parent | 630df8f8bf9678b8d616ec6389e10a1b1bf8f23b (diff) | |
download | cgeo-ef3d8236a1ae7440410f8cbb4d86dd483a3fdb26.zip cgeo-ef3d8236a1ae7440410f8cbb4d86dd483a3fdb26.tar.gz cgeo-ef3d8236a1ae7440410f8cbb4d86dd483a3fdb26.tar.bz2 |
Fixes #4761, Find count for gc.com not working
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 6e6c8b8..a069b68 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCConstants.java +++ b/main/src/cgeo/geocaching/connector/gc/GCConstants.java @@ -73,7 +73,7 @@ public final class GCConstants { public static final String MEMBER_STATUS_PREMIUM = "Premium Member"; public static final String MEMBER_STATUS_CHARTER = "Charter Member"; /** Use replaceAll("[,.]","") on the resulting string before converting to an int */ - static final Pattern PATTERN_CACHES_FOUND = Pattern.compile("<strong[^>]*>.*?([\\d,.]+) Caches? Found", Pattern.DOTALL); + static final Pattern PATTERN_CACHES_FOUND = Pattern.compile("<span[^>]*>.*?([\\d,.]+) Find?", Pattern.DOTALL); static final Pattern PATTERN_AVATAR_IMAGE_PROFILE_PAGE = Pattern.compile("src=\"(https?://(img(?:cdn)?\\.geocaching\\.com|[^>\"]+\\.cloudfront\\.net)/avatar/[0-9a-f-]+\\.jpg)\"[^>]*alt=\""); static final Pattern PATTERN_LOGIN_NAME_LOGIN_PAGE = Pattern.compile("ctl00_ContentBody_lbUsername\">.*<strong>(.*)</strong>"); static final Pattern PATTERN_CUSTOMDATE = Pattern.compile("<option selected=\"selected\" value=\"([ /.Mdy-]+)\">"); |