From 77473b64ea316f00edf9e799442d217a3d4bc148 Mon Sep 17 00:00:00 2001 From: CachingFoX Date: Fri, 24 Apr 2020 07:30:34 +0200 Subject: [PATCH 1/4] fix problems with the Headquarter Cache (GCK25B) --- pycaching/cache.py | 8 ++++++-- test/test_cache.py | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/pycaching/cache.py b/pycaching/cache.py index e099caa..ac9394d 100644 --- a/pycaching/cache.py +++ b/pycaching/cache.py @@ -1213,7 +1213,8 @@ class Type(enum.Enum): wherigo = "1858" lost_and_found_event = "10Years_32" project_ape = "ape_32" - groundspeak_hq = "HQ_32" + geocaching_hq = "3773" + groundspeak_hq = geocaching_hq gps_adventures_exhibit = "1304" groundspeak_block_party = "4738" locationless = reverse = "12" @@ -1226,6 +1227,8 @@ def from_filename(cls, filename): filename = "137" if filename == "mega": filename = "453" + if filename == "HQ_32": + filename = "3773" return cls(filename) @classmethod @@ -1255,7 +1258,8 @@ def from_string(cls, name): "wherigo": cls.wherigo, "lost and found event": cls.lost_and_found_event, "project ape": cls.project_ape, - "groundspeak hq": cls.groundspeak_hq, + "geocaching hq": cls.geocaching_hq, + "groundspeak hq": cls.geocaching_hq, "gps adventures exhibit": cls.gps_adventures_exhibit, "groundspeak block party": cls.groundspeak_block_party, "locationless (reverse)": cls.locationless, diff --git a/test/test_cache.py b/test/test_cache.py index b8d8000..d0946c8 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -337,6 +337,22 @@ def test_post_log(self, mock_request, mock_load_log_page): } mock_request.assert_called_with(self.c._get_log_page_url(), method="POST", data=expected_post_data) + def test_cache_types(self): + ''' + Known problem: Locationless cache have to be called first. If called after + Geocaching Headquarters the server answers with 500 + ''' + with self.subTest("Locationless"): + with self.recorder.use_cassette('cache_locationless'): + cache = self.gc.get_cache('GC8FR0G') + cache.load() + print(cache.type) + + with self.subTest("Geocaching Headquarters"): + with self.recorder.use_cassette('cache_headquarters'): + cache = self.gc.get_cache('GCK25B') + cache.load() + print(cache.type) class TestWaypointProperties(unittest.TestCase): def setUp(self): From 90a51a35019bbc25b97e4eedb14070a6ba01d8ff Mon Sep 17 00:00:00 2001 From: CachingFoX Date: Fri, 24 Apr 2020 08:20:01 +0200 Subject: [PATCH 2/4] fix problems different cache types (Giga Event, Headquarter Cache, HQ/Community Celebration, APE, --- pycaching/cache.py | 30 +-- .../cache_type_community_celebration.json | 179 ++++++++++++++++++ test/cassettes/cache_type_gigaevent.json | 179 ++++++++++++++++++ test/cassettes/cache_type_headquarters.json | 179 ++++++++++++++++++ test/cassettes/cache_type_hq_celebration.json | 179 ++++++++++++++++++ test/cassettes/cache_type_locationless.json | 179 ++++++++++++++++++ test/cassettes/cache_type_projectape.json | 179 ++++++++++++++++++ test/test_cache.py | 34 +++- 8 files changed, 1123 insertions(+), 15 deletions(-) create mode 100644 test/cassettes/cache_type_community_celebration.json create mode 100644 test/cassettes/cache_type_gigaevent.json create mode 100644 test/cassettes/cache_type_headquarters.json create mode 100644 test/cassettes/cache_type_hq_celebration.json create mode 100644 test/cassettes/cache_type_locationless.json create mode 100644 test/cassettes/cache_type_projectape.json diff --git a/pycaching/cache.py b/pycaching/cache.py index ac9394d..c8cdb05 100644 --- a/pycaching/cache.py +++ b/pycaching/cache.py @@ -1205,30 +1205,34 @@ class Type(enum.Enum): letterbox = "5" event = "6" mega_event = "453" - giga_event = "giga" + giga_event = "7005" earthcache = "137" cito = cache_in_trash_out_event = "13" webcam = "11" virtual = "4" wherigo = "1858" - lost_and_found_event = "10Years_32" - project_ape = "ape_32" - geocaching_hq = "3773" - groundspeak_hq = geocaching_hq + lost_and_found_event = community_celebration = "3653" + project_ape = "9" + geocaching_hq = groundspeak_hq = "3773" gps_adventures_exhibit = "1304" groundspeak_block_party = "4738" locationless = reverse = "12" + hq_celebration = "3774" @classmethod def from_filename(cls, filename): """Return a cache type from its image filename.""" # fuck Groundspeak, they sometimes use 2 exactly same icons with 2 different names - if filename == "earthcache": - filename = "137" - if filename == "mega": - filename = "453" - if filename == "HQ_32": - filename = "3773" + name_mapping = { + "ape_32": "9", + "earthcache": "137", + "mega": "453", + "10Years_32": "3653", + "HQ_32": "3773", + "giga": "7005" + } + if filename in name_mapping: + filename = name_mapping[filename] return cls(filename) @classmethod @@ -1256,13 +1260,15 @@ def from_string(cls, name): "webcam": cls.webcam, "virtual": cls.virtual, "wherigo": cls.wherigo, - "lost and found event": cls.lost_and_found_event, + "lost and found event": cls.community_celebration, "project ape": cls.project_ape, "geocaching hq": cls.geocaching_hq, "groundspeak hq": cls.geocaching_hq, "gps adventures exhibit": cls.gps_adventures_exhibit, "groundspeak block party": cls.groundspeak_block_party, "locationless (reverse)": cls.locationless, + "geocaching hq celebration": cls.hq_celebration, + "community celebration event": cls.community_celebration } try: diff --git a/test/cassettes/cache_type_community_celebration.json b/test/cassettes/cache_type_community_celebration.json new file mode 100644 index 0000000..03f392e --- /dev/null +++ b/test/cassettes/cache_type_community_celebration.json @@ -0,0 +1,179 @@ +{ + "http_interactions": [ + { + "recorded_at": "2020-04-24T06:03:30", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC8K09M" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "Object moved\r\n

Object moved to here.

\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "209" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 06:03:29 GMT" + ], + "Expires": [ + "-1" + ], + "Location": [ + "https://www.geocaching.com/geocache/GC8K09M_the-great-geo-escape-community-celebration-event" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 06:03:30 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Vary": [ + "Accept-Encoding" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 301, + "message": "Moved Permanently" + }, + "url": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC8K09M" + } + }, + { + "recorded_at": "2020-04-24T06:03:31", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/geocache/GC8K09M_the-great-geo-escape-community-celebration-event" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "\r\n\r\n\r\n\r\n\r\n \r\n \r\n\tGC8K09M The great Geo-Escape! -Community Celebration Event (Community Celebration Event) in Saskatchewan, Canada created by navyguider\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\t\r\n\t\r\n\t\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n Skip to Content\r\n\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\t\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\t\t\n

\n \n GC8K09M\n \n \n

\n\r\n\t
\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\t\t\r\n
\r\n \r\n \r\n \r\n \r\n <\r\n
\r\n \r\n\t
\r\n
\r\n \r\n \r\n

\r\n The great Geo-Escape! -Community Celebration Event\r\n

\r\n
\r\n
\r\n
\r\n An event cache by navyguider\r\n \r\n \r\n Send Message to Owner\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Message this owner\r\n \r\n
\r\n
\r\n \r\n Event Date:\r\n 2020-09-27\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Start time:\r\n 2:00 PM\r\n
\r\n\r\n
\r\n End time:\r\n 5:00 PM\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Difficulty:
\r\n
\r\n \"1\r\n
\r\n
\r\n
\r\n
\r\n Terrain:
\r\n
\r\n \"1\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

\r\n Size: \"Size: (other)\r\n

\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

\r\n\r\n \r\n\r\n

\r\n \r\n\r\n
\r\n
\r\n
\r\n

\r\n \r\n \r\n N 50\u00b0 26.273 W 104\u00b0 36.260\r\n \r\n \r\n
\r\n \r\n UTM: 13U E 528097 N 5587393
\r\n
\r\n

\r\n
\r\n
\r\n In Saskatchewan, Canada
\r\n \"NW\" NW 7339.9 km from your home location\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Print:\r\n
\r\n
\r\n No Logs\r\n 5 Logs\r\n 10 Logs\r\n Driving Directions\r\n
\r\n
\r\n
\r\n
\r\n Download GPX\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Please note\r\n \r\n Use of geocaching.com services is subject to the terms and conditions in our disclaimer.\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n

Geocache Description:

\r\n \r\n
\r\n \r\n 27 September 2020, 14:00 - 17:00\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

\u00a0

\r\n

Signal had himself in a bit of a pickle and needs your help!

\r\n

\"\"

\r\n

When out geocaching, Signal followed his GPS into a room and is now locked in.\u00a0 He quickly realized it wa all part of a multi-step puzzle cache.\u00a0 However, he is having difficulties with the solutions to find his way out.

\r\n

Join Signal at the Regina Girl Guide Center and help him escape.\u00a0 You will form teams of up to 8 cachers and work together to be the \"First To Free\" Signal.\u00a0 Afterwards there will be a time to socialize and take part in a barbeque.\u00a0 Hot dogs and buns will be provided but donations of salad\u00a0and dessert\u00a0are welcome.

\r\n

Where:\u00a0 Regina Girl Guide Center - basement\u00a0 1530 Broadway Ave.

\r\n

Time: Sunday Sep 27 2p.m. - 5 p.m.

\r\n

Please indicate how many are in your party for planning purposes.

\r\n

Community Celebration Events - 2020

\r\n

This Event is part of a limited release of Community Celebration Events to celebrate 20 years of geocaching. Geocachers hosted events between May 2, 2020 and December 31, 2020. Learn more about Community Celebration Events on the Geocaching Blog.\u00a0

\r\n \r\n
\r\n \r\n\r\n \r\n \r\n

\r\n \r\n Additional Hints\r\n (No hints available.)

\r\n
\r\n \r\n
\r\n
\r\n


\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \n
\n \n Log your visit\n \n \n \n
\n\n\r\n \r\n \r\n
\r\n \r\n

\r\n Attributes\r\n

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\t\t\r\n \r\n \r\n\r\n \r\n
\r\n \r\n

\r\n Advertising with Us\r\n

\r\n \r\n \r\n\t
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \n
\n \n

\n Inventory\n

\n
\n \n \n \n \n\n \n
\n \n \n
\n\r\n \n
\n

\n Bookmark Lists\n

\n \n
\n\n\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n

\r\n  
\r\n \r\n \r\n

\r\n \r\n
\r\n\t\t\r\n
\r\n \r\n
\r\n
\r\n

\r\n View Larger Map\r\n

\r\n
\r\n
\r\n \r\n\t
\r\n \r\n

\r\n Find...\r\n
\r\n \r\n

\r\n \r\n

\r\n For online maps...\r\n

\r\n \r\n \n\r\n \r\n
    \r\n \r\n
\r\n \r\n
\r\n

\r\n 2 Logged Visits\r\n

\r\n

\"Publish 1     \"Post 1     

\r\n

\r\n View Logbook\r\n

\r\n

\r\n **Warning! Spoilers may be included in the descriptions or links.\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n Order by:\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \"Loading\"\r\n Loading Cache Logs...\r\n
\r\n
\r\n

\r\n \r\n Current Time:
Last Updated:
Rendered From:Unknown
Coordinates are in the WGS84 datum\r\n
\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n Return to the Top of the Page\r\n \r\n \n\n\n\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \n\n
\n
\n

\n Reviewer notes\n

\n

\n Use this space to describe your geocache location, container, and how it's hidden to your reviewer. If you've made changes, tell the reviewer what changes you made. The more they know, the easier it is for them to publish your geocache. This note will not be visible to the public when your geocache is published.\n

\n \n
\n \n
\n
\n
\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "111055" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 06:03:30 GMT" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 06:03:30 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 200, + "message": "OK" + }, + "url": "https://www.geocaching.com/geocache/GC8K09M_the-great-geo-escape-community-celebration-event" + } + } + ], + "recorded_with": "betamax/0.8.1" +} diff --git a/test/cassettes/cache_type_gigaevent.json b/test/cassettes/cache_type_gigaevent.json new file mode 100644 index 0000000..e158da7 --- /dev/null +++ b/test/cassettes/cache_type_gigaevent.json @@ -0,0 +1,179 @@ +{ + "http_interactions": [ + { + "recorded_at": "2020-04-24T05:55:08", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC7WWWW" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "Object moved\r\n

Object moved to here.

\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "195" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:55:08 GMT" + ], + "Expires": [ + "-1" + ], + "Location": [ + "https://www.geocaching.com/geocache/GC7WWWW_20-years-of-geocaching-prague-2020" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:55:08 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Vary": [ + "Accept-Encoding" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 301, + "message": "Moved Permanently" + }, + "url": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC7WWWW" + } + }, + { + "recorded_at": "2020-04-24T05:55:09", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/geocache/GC7WWWW_20-years-of-geocaching-prague-2020" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "\r\n\r\n\r\n\r\n\r\n \r\n \r\n\tGC7WWWW 20 Years of Geocaching Prague 2020 (Giga-Event Cache) in Hlavn\u00ed m\u011bsto Praha, Czechia created by Geocaching Prague 2020 Team & \u010cAGeo\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\t\r\n\t\r\n\t\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n Skip to Content\r\n\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\t\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\t\t\n

\n \n GC7WWWW\n \n \n

\n\r\n\t
\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\t\t\r\n
\r\n \r\n \r\n \r\n \r\n <\r\n
\r\n \r\n\t
\r\n
\r\n \r\n \r\n

\r\n 20 Years of Geocaching Prague 2020\r\n

\r\n
\r\n
\r\n
\r\n An event cache by Geocaching Prague 2020 Team & \u010cAGeo\r\n \r\n \r\n Send Message to Owner\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Message this owner\r\n \r\n
\r\n
\r\n \r\n Event Date:\r\n 2020-09-19\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Start time:\r\n 9:00 AM\r\n
\r\n\r\n
\r\n End time:\r\n 10:00 PM\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Difficulty:
\r\n
\r\n \"1\r\n
\r\n
\r\n
\r\n
\r\n Terrain:
\r\n
\r\n \"1\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

\r\n Size: \"Size: (other)\r\n

\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

\r\n\r\n \r\n\r\n

\r\n \r\n\r\n
\r\n
\r\n
\r\n

\r\n \r\n \r\n N 50\u00b0 02.900 E 014\u00b0 24.800\r\n \r\n \r\n
\r\n \r\n UTM: 33U E 457997 N 5544169
\r\n
\r\n

\r\n
\r\n
\r\n In Hlavn\u00ed m\u011bsto Praha, Czechia
\r\n \"E\" E 248.6 km from your home location\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Print:\r\n
\r\n
\r\n No Logs\r\n 5 Logs\r\n 10 Logs\r\n Driving Directions\r\n
\r\n
\r\n
\r\n
\r\n Download GPX\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Please note\r\n \r\n Use of geocaching.com services is subject to the terms and conditions in our disclaimer.\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n

Geocache Description:

\r\n \r\n
\r\n \r\n 19 September 2020, 09:00 - 22:00\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n

P\u0159e\u010dt\u011bte si d\u016fle\u017eit\u00e9\u00a0sd\u011blen\u00ed ke zm\u011bn\u011b term\u00ednu gigaeventu -\u00a0https://www.geocachingprague2020.cz/l/gigaevent-novy-termin-18-20-zari/

\r\n

\u00a0

\r\n

Please read this important information concerning rescheduling of gigaevent -\u00a0www.geocachingprague2020.cz/l/gigaevent-rescheduled-september-18-20/

\r\n

\u00a0

\r\n
\r\n

\u00a0

\r\n\r\n\r\n\r\n\r\n\r\n
\"\"\r\n

Oslavte s n\u00e1mi 20 let geocachingu!

\r\n

Velk\u00fd event s programem na cel\u00fd v\u00edkend

\r\n

1.-3. kv\u011btna 2020

\r\n

18.-20. z\u00e1\u0159\u00ed 2020

\r\n

Celebrate 20 years of Geocaching with us!

\r\n

A huge full-weekend event with many activities

\r\n

1-3 May 2020

\r\n

18-20 September 2020

\r\n

Feiern Sie n\u00e4chstes Jahr mit uns 20 Jahre Geocaching in Prag!

\r\n

Gro\u00dfe Veranstaltung mit Programm f\u00fcr das ganze Wochenende

\r\n

1. bis 3. Mai 2020

\r\n

18. bis 20. September 2020

\r\n
\r\n

\u00a0

\r\n
\r\n

P\u0159ed dvaceti let byla ukryta prvn\u00ed ke\u0161. Ve dnech 18. - 20. z\u00e1\u0159\u00ed 2020 se sejdeme ve \u017dlut\u00fdch l\u00e1zn\u00ed v Praze - Podol\u00ed abychom ve velk\u00e9m stylu oslavili narozeniny geocachingu. T\u011b\u0161it se m\u016f\u017eete na bohat\u00fd program v\u010detn\u011b unik\u00e1tn\u00ed v\u00fdstavy GPS Maze Europe. Bu\u010fte u toho!

\r\n

Bylo nebylo... Tehdy, kdy 21. stolet\u00ed bylo pr\u00e1v\u011b narozen\u00fdm miminkem, kdy jsme v\u0161ichni je\u0161t\u011b um\u011bli pracovat s mapou a buzolou a kdy satelitn\u00ed navigace byla v\u011bc\u00ed stejn\u011b nep\u0159edstavitelnou jako cesta na M\u011bs\u00edc. Pr\u00e1v\u011b tehdy se v\u0161e zm\u011bnilo. Americk\u00e1 vl\u00e1da uvolnila 1. 5. 2000 arm\u00e1dn\u00ed Global Positioning System (GPS) pro civiln\u00ed u\u017eit\u00ed a sv\u011bt se za\u010dal to\u010dit je\u0161t\u011b rychleji ne\u017e d\u0159\u00edv. A proto\u017ee v\u0161ude kolem n\u00e1s jsou hra\u010di\u010dkov\u00e9, jedn\u00edm z prvn\u00edch vyu\u017eit\u00ed t\u00e9to kosmick\u00e9 technologie byla - hra. U\u017e 3. 5. 2000 ukryl jist\u00fd Dave Ulmer v americk\u00e9m st\u00e1t\u011b Oregon plastov\u00fd kbel\u00edk s n\u011bkolika drobnostmi a sou\u0159adnice \u00fakrytu zve\u0159ejnil na s\u00edti Usenet. FTF padlo hned n\u00e1sleduj\u00edc\u00ed den a dal\u0161\u00ed nov\u00e9 schr\u00e1nky a jejich n\u00e1lezy na sebe nenechaly dlouho \u010dekat.

\r\n
\r\n

Eventov\u00fd web

\r\n

www.GeocachingPrague2020.cz

\r\n

Zde naleznete ve\u0161ker\u00e9 podrobnosti a m\u016f\u017eete se tak\u00e9 zaregistrovat k odb\u011bru aktu\u00e1ln\u00edch informac\u00ed prost\u0159ednictv\u00edm newsletteru.

\r\n
\r\n

Program

\r\n

\u00a0

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\u00a0P\u00e1tek 18.9.Sobota 19.9.Ned\u011ble 20.9.
Otev\u0159eno:18:00 - 22:0009:00 - 22:0009:00 - 18:00
Program:GPS MazeGPS Maze
\u00a0Uv\u00edtac\u00ed eventCelodenn\u00ed hlavn\u00ed program (viz pl\u00e1nek)\u00a0
\u00a0\u00a0\u00a0Spousta lab ke\u0161\u00ed
Vstupn\u00e9:zdarma100 K\u010d na oba dny\u00a0
\r\n

\u00a0

\r\n

\r\n
\r\n

Eventov\u00e9 geocoiny a tri\u010dka

\r\n

www.geocachingprague2020.shop

\r\n

Event m\u016f\u017eete podpo\u0159it n\u00e1kupem speci\u00e1ln\u00edch verz\u00ed geocoinu.

\r\n

\"GIGA\"GPS\"GIGA

\r\n
\r\n
\r\n

\u00a0\u00a0\u00a0The first geocache was hidden twenty years ago. We will meet on 18 - 20 September 2020 in Prague (Yellow Spa in Podol\u00ed district) to celebrate the geocaching birthday in a great style. You can expect a packed event schedule including the unique GPS Maze Europe exhibit. Don't miss it!

\r\n

Once upon a time... When 21. century was a newborn baby, when we still knew how to use a compass and a paper map and when satellite navigation was as unimaginable as travelling to Moon. Back then everything has changed. On 1 May 2000 the US government has released the Global Positioning System (GPS) for non-military use and the world became a lot faster. And since we are surrounded by gadget lovers, one of the first applications of this space technology was - a game. Already on 3 May 2000 a guy named Dave Ulmer hid a plastic bucket with some trinkets and he published the hide coordinates on Usenet. The FTF was recorded on the following day - and new caches and their finds followed shortly after.

\r\n
\r\n

Event website

\r\n

www.GeocachingPrague2020.cz

\r\n

Visit for more event details: logistics, schedule, and sign-up for newsletter to receive the latest updates.

\r\n
\r\n

Program

\r\n

\u00a0

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\u00a0Friday 18.9.Saturday 19.9.Sunday 20.9.
Open:18:00 - 22:0009:00 - 22:0009:00 - 18:00
Programme:GPS MazeGPS Maze
\u00a0Meet&Greet eventMain event (see the plan below)\u00a0
\u00a0\u00a0Many LAB caches
Entry:free5 EUR (100 K\u010d) for both days\u00a0
\r\n

\u00a0

\r\n

\r\n
\r\n

Event geocoins and t-shirts

\r\n

www.geocachingprague2020.shop

\r\n

You can support the event by purchasing event items.

\r\n

\"GIGA\"GPS\"GIGA

\r\n
\r\n
\r\n

\u00a0\u00a0 Vor zwanzig Jahren wurde der erste Cacheversteckt. Von 18. bis 20. September 2020 treffen wir uns im \u017dlut\u00e9 l\u00e1zn\u011b in Prag \u2013 Podol\u00ed den Geburtstag von Geocaching in gro\u03b2en Stil zu feiern.\u00a0 Freuen Sie sich auf einreichhaltiges Programme in schlie\u00dflich mit der einzigartigen GPS Maze Europe-Ausstellung. Seien Sie dabei!

\r\n

Es war einmal ... Zu dieser Zeit, als das 21. Jahrhundert noch ein Baby war, als wir alle mit der Karte und Kompass arbeiten konnten und als die Satellitennavigation so unvorstellbar war wie der Weg zum Mond. Da hat sich alles ge\u00e4ndert. Die US-Regierung hat am 1. Mai 2000 das Global Positioning System (GPS) der Armee f\u00fcr den zivilen Einsatz freigegeben, und die Welt begann sich schneller als je zuvor zu drehen. Und weil alle um uns herum verspielt sind, war eine der ersten Anwendungen dieser kosmischen Technologie - ein Spiel. Am 3. Mai 2000 hatte Dave Ulmer im US-Bundesstaat Oregon einen Plastikeimer mit ein paar Kleinigkeitenversteckt und die Versteckkoordinaten im Usenet-Netzwerk ver\u00f6ffentlicht. Die FTF fiel am n\u00e4chsten Tag und andere neuen Caches und ihre F\u00fcnde lie\u00dfen nicht lange auf sich warten.

\r\n
\r\n

Das Veranstaltungsweb

\r\n

www.GeocachingPrague2020.cz

\r\n

Hier finden Sie alle Details und k\u00f6nnen auch den neuesten Newsletter abonnieren.

\r\n
\r\n

Programm

\r\n

\u00a0

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\u00a0Freitag 18.9.Samstag 19.9.Sonntag 20.9.
Ge\u00f6fnet:18:00 - 22:0009:00 - 22:0009:00 - 18:00
Programm:GPS MazeGPS Maze
\u00a0Meet&Greet eventGanzt\u00e4giges Hauptprogramm (siehe Plan)\u00a0
\u00a0\u00a0Viele LAB caches
Eintritt:frei5 EUR (100 K\u010d) f\u00fcr beide Tage\u00a0
\r\n

\u00a0

\r\n

\r\n
\r\n

Event-Geocoins und T-Shirts

\r\n

www.geocachingprague2020.shop

\r\n

Sie k\u00f6nnen die Veranstaltung unterst\u00fctzen, zum Beispiel wenn Sie spezielle Versionen von Geocoins erwerben.

\r\n

\"GIGA\"GPS\"GIGA

\r\n
\r\n

\u00a0

\r\n \r\n
\r\n \r\n\r\n \r\n \r\n

\r\n \r\n Additional Hints\r\n (Decrypt)

\r\n mzran grezvah an mnev 2020 / erfpurqhyrq gb Frcgrzore 2020
\r\n

Decryption Key

A|B|C|D|E|F|G|H|I|J|K|L|M
-------------------------
N|O|P|Q|R|S|T|U|V|W|X|Y|Z

(letter above equals below, and vice versa)

\r\n
\r\n
\r\n


\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \n
\n
\n \n

\n Will Attend\n Logged on: 2019-06-17\n

\n
\n Log a new visit\n \n \n \n
\n\n\r\n \r\n \r\n
\r\n \r\n

\r\n Attributes\r\n

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\t\t\r\n \r\n \r\n\r\n \r\n
\r\n \r\n

\r\n Advertising with Us\r\n

\r\n \r\n \r\n\t
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \n\n\r\n \n
\n

\n Bookmark Lists\n

\n \n
\n\n\r\n \n
\n

\n My Bookmark Lists\n

\n
\n \n \n \n

\n \n

\n
\n
\n\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n

\r\n Additional Waypoints 
\r\n \r\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n  \n \n  \n \n Prefix\n \n Lookup\n \n Name\n \n Coordinate\n
\n \"Visible\"\n \n \"Trailhead\"\n \n \n 01\n \n \n \n Vchod/Entrance (Trailhead)\n \n N 50\u00b0 02.916 E 014\u00b0 24.874 \n \n
\n  \n \n Note:\n \n \n
\n \n

\n Show Hidden Waypoints\n Hide Hidden Waypoints\n \n

\n\n\n\r\n

\r\n \r\n
\r\n\t\t\r\n
\r\n \r\n
\r\n
\r\n

\r\n View Larger Map\r\n

\r\n
\r\n
\r\n \r\n\t
\r\n \r\n

\r\n Find...\r\n
\r\n \r\n

\r\n \r\n

\r\n For online maps...\r\n

\r\n \r\n \n\r\n \r\n
    \r\n \r\n
\r\n \r\n
\r\n

\r\n 5,852 Logged Visits\r\n

\r\n

\"Write 117     \"Will 5,727     \"Publish 1     \"Announcement\" 7     

\r\n

\r\n View Logbook\u00a0|\u00a0View the Image Gallery of 8 images\r\n

\r\n

\r\n **Warning! Spoilers may be included in the descriptions or links.\r\n

\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \"Loading\"\r\n Loading Cache Logs...\r\n
\r\n
\r\n

\r\n \r\n Current Time:
Last Updated:
Rendered From:Unknown
Coordinates are in the WGS84 datum\r\n
\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n Return to the Top of the Page\r\n \r\n \n\n\n\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \n\n
\n
\n

\n Reviewer notes\n

\n

\n Use this space to describe your geocache location, container, and how it's hidden to your reviewer. If you've made changes, tell the reviewer what changes you made. The more they know, the easier it is for them to publish your geocache. This note will not be visible to the public when your geocache is published.\n

\n \n
\n \n
\n
\n
\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "149785" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:55:09 GMT" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:55:08 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 200, + "message": "OK" + }, + "url": "https://www.geocaching.com/geocache/GC7WWWW_20-years-of-geocaching-prague-2020" + } + } + ], + "recorded_with": "betamax/0.8.1" +} diff --git a/test/cassettes/cache_type_headquarters.json b/test/cassettes/cache_type_headquarters.json new file mode 100644 index 0000000..23ff606 --- /dev/null +++ b/test/cassettes/cache_type_headquarters.json @@ -0,0 +1,179 @@ +{ + "http_interactions": [ + { + "recorded_at": "2020-04-24T05:38:17", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/seek/cache_details.aspx?wp=GCK25B" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "Object moved\r\n

Object moved to here.

\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "183" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:38:16 GMT" + ], + "Expires": [ + "-1" + ], + "Location": [ + "https://www.geocaching.com/geocache/GCK25B_geocaching-headquarters" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:38:16 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Vary": [ + "Accept-Encoding" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 301, + "message": "Moved Permanently" + }, + "url": "https://www.geocaching.com/seek/cache_details.aspx?wp=GCK25B" + } + }, + { + "recorded_at": "2020-04-24T05:38:23", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/geocache/GCK25B_geocaching-headquarters" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "\r\n\r\n\r\n\r\n\r\n \r\n \r\n\tGCK25B Geocaching Headquarters (Groundspeak HQ) in Washington, United States created by Geocaching HQ\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\t\r\n\t\r\n\t\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n Skip to Content\r\n\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\t\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\t\t\n

\n \n GCK25B\n \n \n

\n\r\n\t
\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\t\t\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <\r\n
\r\n \r\n\t
\r\n
\r\n \r\n \r\n

\r\n Geocaching Headquarters\r\n

\r\n
\r\n
\r\n
\r\n A cache by Geocaching HQ\r\n \r\n \r\n Send Message to Owner\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Message this owner\r\n \r\n
\r\n
\r\n Hidden\r\n :\r\n 2004-07-22\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Difficulty:
\r\n
\r\n \"1\r\n
\r\n
\r\n
\r\n
\r\n Terrain:
\r\n
\r\n \"1\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

\r\n Size: \"Size: (other)\r\n

\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n 4942 \r\n \r\n Favorites\r\n
\r\n
\r\n
\r\n
\r\n\t\t\r\n \r\n \r\n\t
\r\n\t\t\r\n \r\n \r\n\t
\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

\r\n\r\n Related Web Page\r\n\r\n

\r\n \r\n\r\n
\r\n
\r\n
\r\n

\r\n \r\n \r\n N 47\u00b0 38.938 W 122\u00b0 20.887\r\n \r\n \r\n
\r\n \r\n UTM: 10T E 548956 N 5277491
\r\n
\r\n

\r\n
\r\n
\r\n In Washington, United States
\r\n \"NW\" NW 8326.8 km from your home location\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Print:\r\n
\r\n
\r\n No Logs\r\n 5 Logs\r\n 10 Logs\r\n Driving Directions\r\n
\r\n
\r\n
\r\n
\r\n Download GPX\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Please note\r\n \r\n Use of geocaching.com services is subject to the terms and conditions in our disclaimer.\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n

Geocache Description:

\r\n \r\n
\r\n \r\n

Welcome to Geocaching HQ\u2019s Visitor Center!

\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

Due to health and safety concerns related to COVID-19, the HQ Visitor Center is\u00a0closed until further notice - please monitor the cache page or\u00a0Visitor Center website\u00a0for updates.
\r\n\u00a0

\r\n

This cache is only available while the Visitor Center @ HQ is open.\u00a0The Visitor Center is inside the Lakeview Building, Suite 300.

\r\n


\r\nOpen hours are Monday through Friday 9:00 a.m. - 5:00 p.m. except during office closures, listed below. We are closed Saturday, Sunday, & holidays.
\r\n\u00a0

\r\n

To claim this geocache find you must sign the logbook in the GCK25B geocache located in the Visitor Center @ HQ.

\r\n

Office Closures

\r\n

We are closed Saturday, Sunday, U.S. holidays, and outside of the posted open hours. The Visitor Center is also closed during these dates and times:

\r\n
    \r\n
  • Due to health and safety concerns related to COVID-19, the HQ Visitor Center is\u00a0closed until further notice - please monitor the cache page or Visitor Center website for updates.
  • \r\n
  • Closed: Friday, May 22, 2020 from 3:00 pm - 5:00 pm
  • \r\n
  • Closed: Monday, May 25, 2020 from 9:00 am - 5:00 pm
  • \r\n
  • Closed: Thursday, May 28, 2020 from 11:00 am - 1:00 pm
  • \r\n
  • Closed: Thursday, June 25, 2020 from 11:00 am - 1:00 pm
  • \r\n
  • Closed: Thursday, July 2, 2020 from 3:00 pm - 5:00 pm
  • \r\n
  • Closed: Friday, July 3, 2020 from 9:00 am - 5:00 pm
  • \r\n
  • Closed: Thursday, July 23, 2020 from 11:00 am - 1:00 pm
  • \r\n
  • Closed: Thursday, August 27, 2020 from 11:00 am - 1:00 pm
  • \r\n
  • Closed: Friday, September 4, 2020 from 3:00 pm - 5:00 pm
  • \r\n
  • Closed: Monday, September 7, 2020 from 9:00 am - 5:00 pm
  • \r\n
  • Closed: Thursday, September 24, 2020 from 11:00 am - 1:00 pm
  • \r\n
  • Closed: Thursday, October 22, 2020 from 11:00 am - 1:00 pm
  • \r\n
  • Closed: Wednesday, November 25, 2020 from 3:00 pm - 5:00 pm
  • \r\n
  • Closed: Thursday, November 26, 2020 from 9:00 am - 5:00 pm
  • \r\n
  • Closed: Friday, November 27, 2020 from 9:00 am - 5:00 pm
  • \r\n
  • Closed: Wednesday, December 23, 2020 from 3:00 pm - 5:00 pm
  • \r\n
  • Closed: Thursday, December 24, 2020 from 9:00 am - 5:00 pm
  • \r\n
  • Closed: Friday, December 25, 2020 from 9:00 am - 5:00 pm
  • \r\n
  • Closed: Wednesday, December 30, 2020 from 3:00 pm - 5:00 pm
  • \r\n
  • Closed: Thursday, December 31, 2020 from 9:00 am - 5:00 pm
  • \r\n
\r\n

We strive to list all closures but as you know sometimes things happen. If we have to close the office unexpectedly, we will post a note on the door.

\r\n

Visiting Options

\r\n

Check out all of the options to visit below. The Visitor Center occasionally closes for private events; please see our office closures posted above to verify our current schedule. Joining us in the Visitor Center and completing the HQ GeoTour are totally free! As a working office, we do not give tours of our office spaces.

\r\n

Self-Guided Drop-In Visits & Gift Shop - Monday through Friday 9:00 a.m. - 5:00 p.m.

\r\n

Explore our Visitor Center @ HQ! No reservations required but you can RSVP to let us know you are coming. As these are drop-in hours, if you choose to RSVP, you won't receive a ticket or confirmation when you RSVP. You may just drop-in when we are open! Click here to fill out the RSVP form.\u00a0 NOTICE: Due to health and safety concerns related to COVID-19, the HQ Visitor Center will be closed until further notice - please monitor the cache page or website for updates.

\r\n

PLEASE NOTE:\u00a0Do not use this form if you would like to visit the HQ Visitor Center August 16-20\u00a0and August 23-27, 2021. You must reserve a time slot in order to visit the Visitor Center during this time. Any previous reservations for the Geocaching HQ Visitor Center the week before and after the 20th Anniversary Celebration are cancelled. Free tickets for the Visitor Center will be available on a first-come, first-served basis on the Event website in January 2021. We will post an Announcement to the cache page when tickets are available.

\r\n

Visits to the HQ Visitor Center include the following:

\r\n
    \r\n
  • Find the HQ geocache and sign the logbook.
  • \r\n
  • Capture the moment in our photo booth.
  • \r\n
  • Discover over 50 rare trackables items.
  • \r\n
  • Add the HQ souvenir to your account.
  • \r\n
  • Browse exclusive HQ merchandise and geocaching supplies in the gift shop.
  • \r\n
  • Learn about the HQ GeoTour and passport
  • \r\n
\r\n

Learn to Cache with the Geocaching\u00ae App - Email hqvisits@geocaching.com to schedule

\r\n

Are you new to using the Geocaching\u00ae App or want to learn more about using the features? Join us for a 30 minute tutorial and then head out geocaching!

\r\n
    \r\n
  • 30 minute tutorial on using the Geocaching\u00ae App.
  • \r\n
  • Join us in the Visitor Center before or after for a Self-Guided Drop-In Visit.
  • \r\n
\r\n

Large Group Visits - Email hqvisits@geocaching.com to schedule

\r\n

We enjoy hosting large groups here at HQ. Do you have a classroom of 4th graders, a program of MBA students, or another large group? Contact us to explore options for visiting.

\r\n

Contact us - Send us an email at hqvisits@geocaching.com with other questions you may have.

\r\n \r\n
\r\n \r\n\r\n \r\n \r\n

\r\n \r\n Additional Hints\r\n (Decrypt)

\r\n Jurer jbhyq lbh ybbx vs lbh jrer n cvengr?
\r\n

Decryption Key

A|B|C|D|E|F|G|H|I|J|K|L|M
-------------------------
N|O|P|Q|R|S|T|U|V|W|X|Y|Z

(letter above equals below, and vice versa)

\r\n
\r\n
\r\n


\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \n
\n
\n \n

\n Found It!\n Logged on: 2019-05-17\n

\n
\n Log a new visit\n \n \n \n
\n\n\r\n \r\n \r\n
\r\n \r\n

\r\n Attributes\r\n

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\t\t\r\n \r\n \r\n\r\n \r\n
\r\n \r\n

\r\n Advertising with Us\r\n

\r\n \r\n \r\n\t
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \n
\n \n

\n Inventory\n

\n \n \n \n
\n\r\n \n
\n

\n Bookmark Lists\n

\n \n
\n\n\r\n \n
\n

\n My Bookmark Lists\n

\n
\n \n \n \n

\n \n

\n
\n
\n\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n

\r\n  
\r\n \r\n \r\n

\r\n \r\n
\r\n\t\t\r\n
\r\n \r\n
\r\n
\r\n

\r\n View Larger Map\r\n

\r\n
\r\n
\r\n \r\n\t
\r\n \r\n

\r\n Find...\r\n
\r\n \r\n

\r\n \r\n

\r\n For online maps...\r\n

\r\n \r\n \n\r\n \r\n \r\n \r\n
\r\n

\r\n 21,945 Logged Visits\r\n

\r\n

\"Found 17,262     \"Didn't 47     \"Write 4,617     \"Archive\" 1     \"Attended\" 5     \"Unarchive\" 2     \"Post 1     \"Enable 1     \"Needs 1     \"Owner 5     \"Post 3     

\r\n

\r\n View Logbook\u00a0|\u00a0View the Image Gallery of 5,730 images\r\n

\r\n

\r\n **Warning! Spoilers may be included in the descriptions or links.\r\n

\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \"Loading\"\r\n Loading Cache Logs...\r\n
\r\n
\r\n

\r\n \r\n Current Time:
Last Updated:
Rendered From:Unknown
Coordinates are in the WGS84 datum\r\n
\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n Return to the Top of the Page\r\n \r\n \n\n\n\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \n\n
\n
\n

\n Reviewer notes\n

\n

\n Use this space to describe your geocache location, container, and how it's hidden to your reviewer. If you've made changes, tell the reviewer what changes you made. The more they know, the easier it is for them to publish your geocache. This note will not be visible to the public when your geocache is published.\n

\n \n
\n \n
\n
\n
\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "150648" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:38:22 GMT" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:38:17 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 200, + "message": "OK" + }, + "url": "https://www.geocaching.com/geocache/GCK25B_geocaching-headquarters" + } + } + ], + "recorded_with": "betamax/0.8.1" +} diff --git a/test/cassettes/cache_type_hq_celebration.json b/test/cassettes/cache_type_hq_celebration.json new file mode 100644 index 0000000..6ec29e7 --- /dev/null +++ b/test/cassettes/cache_type_hq_celebration.json @@ -0,0 +1,179 @@ +{ + "http_interactions": [ + { + "recorded_at": "2020-04-24T06:03:28", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC896PK" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "Object moved\r\n

Object moved to here.

\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "200" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 06:03:27 GMT" + ], + "Expires": [ + "-1" + ], + "Location": [ + "https://www.geocaching.com/geocache/GC896PK_geocaching-20th-anniversary-celebration" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 06:03:28 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Vary": [ + "Accept-Encoding" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 301, + "message": "Moved Permanently" + }, + "url": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC896PK" + } + }, + { + "recorded_at": "2020-04-24T06:03:30", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/geocache/GC896PK_geocaching-20th-anniversary-celebration" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "\r\n\r\n\r\n\r\n\r\n \r\n \r\n\tGC896PK Geocaching 20th Anniversary Celebration (Geocaching HQ Celebration) in Washington, United States created by Geocaching HQ\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\t\r\n\t\r\n\t\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n Skip to Content\r\n\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\t\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\t\t\n

\n \n GC896PK\n \n \n

\n\r\n\t
\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\t\t\r\n
\r\n \r\n \r\n \r\n \r\n <\r\n
\r\n \r\n\t
\r\n
\r\n \r\n \r\n

\r\n Geocaching 20th Anniversary Celebration\r\n

\r\n
\r\n
\r\n
\r\n An event cache by Geocaching HQ\r\n \r\n \r\n Send Message to Owner\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Message this owner\r\n \r\n
\r\n
\r\n \r\n Event Date:\r\n 2021-08-21\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Start time:\r\n 10:00 AM\r\n
\r\n\r\n
\r\n End time:\r\n 5:00 PM\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Difficulty:
\r\n
\r\n \"1\r\n
\r\n
\r\n
\r\n
\r\n Terrain:
\r\n
\r\n \"1\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

\r\n Size: \"Size: (other)\r\n

\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

\r\n\r\n \r\n\r\n

\r\n \r\n\r\n
\r\n
\r\n
\r\n

\r\n \r\n \r\n N 47\u00b0 37.300 W 122\u00b0 21.125\r\n \r\n \r\n
\r\n \r\n UTM: 10T E 548683 N 5274454
\r\n
\r\n

\r\n
\r\n
\r\n In Washington, United States
\r\n \"NW\" NW 8329.6 km from your home location\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Print:\r\n
\r\n
\r\n No Logs\r\n 5 Logs\r\n 10 Logs\r\n Driving Directions\r\n
\r\n
\r\n
\r\n
\r\n Download GPX\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Please note\r\n \r\n Use of geocaching.com services is subject to the terms and conditions in our disclaimer.\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n

Geocache Description:

\r\n \r\n
\r\n \r\n 21 August 2021, 10:00 - 17:00\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

\r\n

Geocaching HQ cordially welcomes geocachers from all over the world to celebrate 20 years of geocaching with an exciting event in Seattle, Washington! Even if you\u2019re not already a geocacher, we invite you to join in the fun and learn about the game through fun exhibits, vendor booths, speakers, and directly from geocachers from all over the world.

\r\n

This page will be updated regularly, as we finalize the schedule. Entry to the Celebration will be FREE. Logging your \u2018Will Attend\u2019 on this cache page will serve as your Event registration in early 2021.

\r\n

If interested, you will find pre-order opportunities for official Geocaching 20th Anniversary Celebration Event merchandise listed on the Event website.

\r\n

Access to the Geocaching HQ Visitor Center and HQ Geocache (GCK25B) will only be available through scheduled visits the week before and after the 20th Anniversary Celebration. Free tickets for the Visitor Center will be available on a first come-first served basis on the Event website in January 2021. We will post an Announcement to the cache page when tickets become available. Any tickets previously reserved for 2020 are now cancelled.

\r\n

When: Saturday, August 21, 2021

\r\n

Time of 10:00am to 5:00pm is only an estimate; Please visit the event page for updates.

\r\n

Where: Fisher Pavilion - Seattle Center - 305 Harrison Street, Seattle, Washington

\r\n

Schedule of Events:

\r\n

We do not have a schedule at this time. Please visit the event page regularly for updates.

\r\n

Activities:

\r\n

Keep an eye on this section for details on Adventure Labs and GeoTours in the area as well as main stage presentations, food options, and more.

\r\n

You will have an opportunity to log the Find Signal the Frog\u00ae - Locationless in 2020 geocache (GC8FROG) at the Geocaching 20th Anniversary Celebration. Appearances by the Signal the Frog\u00ae mascot will happen throughout the day. The official 20th anniversary Signal the Frog\u00ae banner will also be available for photo opportunities. For more details on this rare geocache type, please read our full blog post.

\r\n

Event website:

\r\n

https://hq20.geocaching.com/

\r\n

A week of celebrations - events around the Northwest

\r\n

Going APE Mega-Event - Snoqualmie, Washington

\r\n

Sunday, August 22, 2021

\r\n

Hosted by the Washington State Geocaching Association (WSGA)

\r\n

GeoWoodstock (GC86VDF) - Abbotsford, British Columbia

\r\n

Saturday, August 28, 2021

\r\n
\u00a0
\r\n

Coronavirus Disease 2019 (COVID-19):

\r\n

Due to uncertainties related to Coronavirus 2019 (COVID-19), Geocaching HQ rescheduled the Geocaching 20th Anniversary Celebration to August 21, 2021. We are very sorry for any inconvenience this may cause, but we feel this is the best way to host the event in a safe and responsible manner. We look forward to welcoming geocachers to celebrate with us in Seattle in 2021!

\r\n

\u00a0

\r\n \r\n
\r\n \r\n\r\n \r\n \r\n

\r\n \r\n Additional Hints\r\n (No hints available.)

\r\n
\r\n \r\n
\r\n
\r\n


\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \n
\n \n Log your visit\n \n \n \n
\n\n\r\n \r\n \r\n
\r\n \r\n

\r\n Attributes\r\n

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\t\t\r\n \r\n \r\n\r\n \r\n
\r\n \r\n

\r\n Advertising with Us\r\n

\r\n \r\n \r\n\t
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \n
\n \n

\n Inventory\n

\n
\n \n \n
\r\n\t\t\n

There are no Trackables in this cache.

\n \r\n\t
\n \n\n \n
\n \n \n
\n\r\n \n
\n

\n Bookmark Lists\n

\n \n
\n\n\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n

\r\n  
\r\n \r\n \r\n

\r\n \r\n
\r\n\t\t\r\n
\r\n \r\n
\r\n
\r\n

\r\n View Larger Map\r\n

\r\n
\r\n
\r\n \r\n\t
\r\n \r\n

\r\n Find...\r\n
\r\n \r\n

\r\n \r\n

\r\n For online maps...\r\n

\r\n \r\n \n\r\n \r\n
    \r\n \r\n
\r\n \r\n
\r\n

\r\n 4,386 Logged Visits\r\n

\r\n

\"Write 197     \"Will 4,183     \"Attended\" 2     \"Publish 1     \"Announcement\" 3     

\r\n

\r\n View Logbook\u00a0|\u00a0View the Image Gallery of 36 images\r\n

\r\n

\r\n **Warning! Spoilers may be included in the descriptions or links.\r\n

\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \"Loading\"\r\n Loading Cache Logs...\r\n
\r\n
\r\n

\r\n \r\n Current Time:
Last Updated:
Rendered From:Unknown
Coordinates are in the WGS84 datum\r\n
\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n Return to the Top of the Page\r\n \r\n \n\n\n\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \n\n
\n
\n

\n Reviewer notes\n

\n

\n Use this space to describe your geocache location, container, and how it's hidden to your reviewer. If you've made changes, tell the reviewer what changes you made. The more they know, the easier it is for them to publish your geocache. This note will not be visible to the public when your geocache is published.\n

\n \n
\n \n
\n
\n
\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "125454" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 06:03:28 GMT" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 06:03:28 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 200, + "message": "OK" + }, + "url": "https://www.geocaching.com/geocache/GC896PK_geocaching-20th-anniversary-celebration" + } + } + ], + "recorded_with": "betamax/0.8.1" +} diff --git a/test/cassettes/cache_type_locationless.json b/test/cassettes/cache_type_locationless.json new file mode 100644 index 0000000..4fefdf1 --- /dev/null +++ b/test/cassettes/cache_type_locationless.json @@ -0,0 +1,179 @@ +{ + "http_interactions": [ + { + "recorded_at": "2020-04-24T05:38:07", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC8FR0G" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "Object moved\r\n

Object moved to here.

\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "202" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:38:07 GMT" + ], + "Expires": [ + "-1" + ], + "Location": [ + "https://www.geocaching.com/geocache/GC8FR0G_find-signal-the-frog-locationless-in-2020" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:38:07 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Vary": [ + "Accept-Encoding" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 301, + "message": "Moved Permanently" + }, + "url": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC8FR0G" + } + }, + { + "recorded_at": "2020-04-24T05:38:11", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/geocache/GC8FR0G_find-signal-the-frog-locationless-in-2020" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "\r\n\r\n\r\n\r\n\r\n \r\n \r\n\tGC8FR0G Find Signal the Frog\u00ae - Locationless in 2020 (Locationless (Reverse) Cache) in Washington, United States created by Geocaching HQ\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\t\r\n\t\r\n\t\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n Skip to Content\r\n\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\t\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\t\t\n

\n \n GC8FR0G\n \n \n

\n\r\n\t
\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\t\t\r\n
\r\n \r\n \r\n \r\n \r\n <\r\n
\r\n \r\n\t
\r\n
\r\n \r\n \r\n

\r\n Find Signal the Frog\u00ae - Locationless in 2020\r\n

\r\n
\r\n
\r\n
\r\n A cache by Geocaching HQ\r\n \r\n \r\n Send Message to Owner\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Message this owner\r\n \r\n
\r\n
\r\n Hidden\r\n :\r\n 2019-12-17\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Difficulty:
\r\n
\r\n \"1\r\n
\r\n
\r\n
\r\n
\r\n Terrain:
\r\n
\r\n \"1.5\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

\r\n Size: \"Size: (virtual)\r\n

\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n 785 \r\n \r\n Favorites\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

\r\n\r\n \r\n\r\n

\r\n \r\n\r\n
\r\n
\r\n
\r\n

\r\n \r\n \r\n N 47\u00b0 37.310 W 122\u00b0 21.125\r\n \r\n \r\n
\r\n \r\n UTM: 10T E 548683 N 5274473
\r\n
\r\n

\r\n
\r\n
\r\n In Washington, United States
\r\n \"NW\" NW 8329.6 km from your home location\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Print:\r\n
\r\n
\r\n No Logs\r\n 5 Logs\r\n 10 Logs\r\n Driving Directions\r\n
\r\n
\r\n
\r\n
\r\n Download GPX\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Please note\r\n \r\n Use of geocaching.com services is subject to the terms and conditions in our disclaimer.\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n

Geocache Description:

\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

\"\"

\r\n

This cache is not at the posted coordinates!

\r\n

In 2020-21, we will celebrate geocaching\u2019s future, while also commemorating its rich 20-year history. In a nod to the past, this single Locationless Cache is available to find in 2020 and 2021.

\r\n

Logging task:

\r\n
    \r\n
  1. \r\n

    You must find the Signal the Frog\u00ae mascot or official 20th anniversary Signal the Frog\u00ae banner in-person in the years 2020-21.

    \r\n
  2. \r\n
  3. \r\n

    Include a photo of you or a personal item with Signal in your online log. (Old photos are not permitted. Logs that do not meet the requirements are subject to deletion.)\u00a0

    \r\n
  4. \r\n
\r\n

Both versions of Signal the Frog\u00ae are created and distributed only by Geocaching HQ and are most reliably found at Mega- and Giga-Events.

\r\n

Example photos:\u00a0

\r\n

\u00a0 \u00a0 \u00a0\u00a0 \u00a0\"Bryan\u00a0 \u00a0 \u00a0 \u00a0\u00a0\"Bryan

\r\n

While we hope you see Signal many times in 2020-21, you can only log one find on this cache. The cache page will be archived and locked on January 1, 2022. So, make sure you find and log Signal before the end of 2021!

\r\n

Learn more about the Locationless Cache in the Geocaching Blog.

\r\n

Note: the cache page has been updated to reflect changes that were made in response to the Coronavirus 2019 (COVID-19) pandemic. Since many Mega- and Giga-Events are postponed in 2020, we have extended the availability of this special cache through December 31, 2021.

\r\n \r\n
\r\n \r\n\r\n \r\n \r\n

\r\n \r\n Additional Hints\r\n (No hints available.)

\r\n
\r\n \r\n
\r\n
\r\n


\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \n
\n \n Log geocache\n \n \n \n
\n\n\r\n \r\n \r\n
\r\n \r\n

\r\n Attributes\r\n

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\t\t\r\n \r\n \r\n\r\n \r\n
\r\n \r\n

\r\n Advertising with Us\r\n

\r\n \r\n \r\n\t
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \n
\n \n

\n Inventory\n

\n
\n \n \n \n \n \n \n\n \n
\n \n \n
\n\r\n \n
\n

\n Bookmark Lists\n

\n
\n \n \n \n

\n View all 77 bookmark lists...\n

\n
\n
\n\n\r\n \n
\n

\n My Bookmark Lists\n

\n
\n \n \n \n

\n \n

\n
\n
\n\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n

\r\n  
\r\n \r\n \r\n

\r\n \r\n
\r\n\t\t\r\n
\r\n \r\n
\r\n
\r\n

\r\n View Larger Map\r\n

\r\n
\r\n
\r\n \r\n\t
\r\n \r\n

\r\n Find...\r\n
\r\n \r\n

\r\n \r\n

\r\n For online maps...\r\n

\r\n \r\n \n\r\n \r\n
    \r\n \r\n
\r\n \r\n
\r\n

\r\n 4,632 Logged Visits\r\n

\r\n

\"Found 4,549     \"Didn't 2     \"Write 79     \"Publish 1     \"Needs 1     

\r\n

\r\n View Logbook\u00a0|\u00a0View the Image Gallery of 4,925 images\r\n

\r\n

\r\n **Warning! Spoilers may be included in the descriptions or links.\r\n

\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \"Loading\"\r\n Loading Cache Logs...\r\n
\r\n
\r\n

\r\n \r\n Current Time:
Last Updated:
Rendered From:Unknown
Coordinates are in the WGS84 datum\r\n
\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n Return to the Top of the Page\r\n \r\n \n\n\n\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \n\n
\n
\n

\n Reviewer notes\n

\n

\n Use this space to describe your geocache location, container, and how it's hidden to your reviewer. If you've made changes, tell the reviewer what changes you made. The more they know, the easier it is for them to publish your geocache. This note will not be visible to the public when your geocache is published.\n

\n \n
\n \n
\n
\n
\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "136272" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:38:09 GMT" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:38:07 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 200, + "message": "OK" + }, + "url": "https://www.geocaching.com/geocache/GC8FR0G_find-signal-the-frog-locationless-in-2020" + } + } + ], + "recorded_with": "betamax/0.8.1" +} diff --git a/test/cassettes/cache_type_projectape.json b/test/cassettes/cache_type_projectape.json new file mode 100644 index 0000000..6d15e30 --- /dev/null +++ b/test/cassettes/cache_type_projectape.json @@ -0,0 +1,179 @@ +{ + "http_interactions": [ + { + "recorded_at": "2020-04-24T05:38:11", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC1169" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "Object moved\r\n

Object moved to here.

\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "185" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:38:11 GMT" + ], + "Expires": [ + "-1" + ], + "Location": [ + "https://www.geocaching.com/geocache/GC1169_mission-9-tunnel-of-light" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:38:11 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Vary": [ + "Accept-Encoding" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 301, + "message": "Moved Permanently" + }, + "url": "https://www.geocaching.com/seek/cache_details.aspx?wp=GC1169" + } + }, + { + "recorded_at": "2020-04-24T05:38:16", + "request": { + "body": { + "encoding": "utf-8", + "string": "" + }, + "headers": { + "Accept": [ + "*/*" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Connection": [ + "keep-alive" + ], + "Cookie": [ + "gspkauth=; Culture=en-US; __RequestVerificationToken=" + ], + "User-Agent": [ + "python-requests/2.23.0" + ] + }, + "method": "GET", + "uri": "https://www.geocaching.com/geocache/GC1169_mission-9-tunnel-of-light" + }, + "response": { + "body": { + "encoding": "utf-8", + "string": "\r\n\r\n\r\n\r\n\r\n \r\n \r\n\tGC1169 Mission 9: Tunnel of Light (Project APE Cache) in Washington, United States created by Project APE (maintained by Moun10Bike)\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\t\r\n\t\r\n\t\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n Skip to Content\r\n\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\t\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\t\t\n

\n \n GC1169\n \n \n

\n\r\n\t
\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\t\t\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <\r\n
\r\n \r\n\t
\r\n
\r\n \r\n \r\n

\r\n Mission 9: Tunnel of Light\r\n

\r\n
\r\n
\r\n
\r\n A cache by Project APE (maintained by Moun10Bike)\r\n \r\n \r\n Send Message to Owner\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Message this owner\r\n \r\n
\r\n
\r\n Hidden\r\n :\r\n 2001-07-18\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Difficulty:
\r\n
\r\n \"1\r\n
\r\n
\r\n
\r\n
\r\n Terrain:
\r\n
\r\n \"3\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

\r\n Size: \"Size: (large)\r\n

\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n 2027 \r\n \r\n Favorites\r\n
\r\n
\r\n
\r\n
\r\n\t\t\r\n \r\n \r\n\t
\r\n\t\t\r\n \r\n \r\n\t
\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

\r\n\r\n \r\n\r\n

\r\n \r\n\r\n
\r\n
\r\n
\r\n

\r\n \r\n \r\n N 47\u00b0 23.513 W 121\u00b0 27.299\r\n \r\n \r\n
\r\n \r\n UTM: 10T E 616598 N 5249871
\r\n
\r\n

\r\n
\r\n
\r\n In Washington, United States
\r\n \"NW\" NW 8318.6 km from your home location\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Print:\r\n
\r\n
\r\n No Logs\r\n 5 Logs\r\n 10 Logs\r\n Driving Directions\r\n
\r\n
\r\n
\r\n
\r\n Download GPX\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n Please note\r\n \r\n Use of geocaching.com services is subject to the terms and conditions in our disclaimer.\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n

Geocache Description:

\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n
This cache is a Project APE cache, a cache hidden with permission for the Planet of the Apes Promotion in 2001. Moun10Bike and Jeremy were the original covert placers of the cache, but Moun10Bike has since taken over complete ownership. When the cache was placed, it contained a torch from the movie. The description in green below was the original description for the cache:
\r\n
\r\n
\r\n

Project APE's success continues as our movement continues to grow beyond what we ever thought possible. For this mission we are heading back to the Northwest, where we are sure to keep our momentum going. Our confidence as a group is growing, but don't let our past success blind us to the constant threat we face. We still hear and receive daily reports of undercover federal agents stalking our team. Remain diligent and stay alert. Remember, anyone you don't know is a possible enemy to our mission.

\r\n

Below is our field agent's report for the mission at hand:

\r\n

\"This mission is not going to be an easy one. The hike will not be as scenic as some of the other missions, but you'll be on a great adventure. You'll need to wear a good pair of waterproof boots, or an old pair of sneakers. A flashlight is necessary, even if you go during the day.

\r\n

This is a creepy, historical and very cool spot. Be ready for a unique hike, but beware because in parts you'll be sitting ducks for the authorities. So move fast and keep a good eye on your back to make sure you're not tailed. Good luck!\"

\r\n
\r\n
\r\n
\r\nCache Details:
\r\n
\r\nThere are two major means of access to the cache location:
\r\n
\r\n
    \r\n
  • The John Wayne Pioneer Trail
    \r\nThe shortest route along the John Wayne Pioneer Trail, a.k.a. the Iron Horse Trail, begins from the Iron Horse Trailhead at Hyak, which is accessed off of Exit 54 on Interstate 90. The trailhead is an expansive parking lot operated by the State Parks with restroom facilities and is the major access point for the 2-1/4 mile long Snoqualmie Tunnel, the feature for which the cache is named and through which you must travel to access the cache.
    \r\n
    \r\nNote that a Discover Pass parking permit is required to park at this trailhead..
    \r\n
    \r\nAlso please note that the tunnel is closed each year between roughly Nov. 1 and May 1 due to the dangerous icicles that form inside from seep water. You can learn the status of the tunnel by calling (509) 656-2230.
    \r\n
    \r\n
    Round-Trip Distance: About 6 miles (10 k)
    \r\nElevation Gain: Minimal
    \r\n
  • \r\n
  • The Annette Lake Trail
    \r\nThe Annette Lake Trailhead is located off of Interstate 90 at Exit 47 (signed \"Denny Creek/Asahel Curtis\"). Turn south at the exit to the junction with Tinkham Road (Forest Road #55), then go left for a quarter-mile to the large parking lot. Once out of your car, follow the Annette Lake Trail uphill from the trailhead (not to be confused with the gated Forest Road #5590, which also leads uphill from the parking lot). Keep on this trail until you reach the junction with the Iron Horse Trail, which is provided as an additional waypoint in the cache description. Be sure to ignore the old, overgrown powerline road that juts off toward the left (east) about halfway to the junction with the Iron Horse.
    \r\n
    \r\nNote that a Northwest Forest Pass Day ePass, regular Day Pass, or Annual Pass is needed to park at this trailhead.
    \r\n
    \r\n
    Round-Trip Distance: About 4 miles (6.4 k)
    \r\nElevation Gain: About 575 feet (175 m)
    \r\n
  • \r\n
\r\n
\r\nMany thanks to Hypnopaedia for maintaining the tribute cache at this location for the years when the original container was missing, and to Washington State Parks and Ranger Rick Oakley for their help in getting this cache reinstated.
\r\n
\r\n\r\n
\"Switchbacks.com
\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
    \r\n
  1. The geocache may be placed on Washington State Parks and Recreation Commission managed property only by written permission from the Washington State Parks and Recreation Commission.
  2. \r\n
  3. The following items shall not be placed in the geocache: Food items; illegal substances; medications; personal hygiene products, pornographic materials; inappropriate, offensive, or hazardous materials or weapons of any type. Log books are required for each cache and are to be provided by the owner of the cache.
  4. \r\n
  5. It is the visitor\u2019s responsibility to orient themselves with policies and rules pertaining to State Parks areas.
  6. \r\n
  7. Report any incident, problem, or violation to State Parks staff.
  8. \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n

\r\n \r\n Additional Hints\r\n (No hints available.)

\r\n
\r\n \r\n
\r\n
\r\n


\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \n
\n
\n \n

\n Found It!\n Logged on: 2019-05-18\n

\n
\n Log a new visit\n \n \n \n
\n\n\r\n \r\n \r\n
\r\n \r\n

\r\n Attributes\r\n

\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\t\t\r\n \r\n \r\n\r\n \r\n
\r\n \r\n

\r\n Advertising with Us\r\n

\r\n \r\n \r\n\t
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \n
\n \n

\n Inventory\n

\n
\n \n \n
\r\n\t\t\n

There are no Trackables in this cache.

\n \r\n\t
\n \n\n \n
\n \n \n
\n\r\n \n
\n

\n Bookmark Lists\n

\n \n
\n\n\r\n \n
\n

\n My Bookmark Lists\n

\n
\n \n \n \n

\n \n

\n
\n
\n\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n

\r\n Additional Waypoints 
\r\n \r\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n  \n \n  \n \n Prefix\n \n Lookup\n \n Name\n \n Coordinate\n
\n \"Visible\"\n \n \"Parking\n \n \n P1\n \n HYAK\n \n Iron Horse Trailhead at Hyak (Parking Area)\n \n N 47\u00b0 23.483 W 121\u00b0 23.526 \n \n
\n  \n \n Note:\n \n This is the parking location for a trip through the \"Tunnel of Light\". Parking here requires a Washington State Parks \"Discover Pass\". Hop on the Iron Horse Trail going north and you'll be in the tunnel quite fast. This choice doesn't have the best scenery but is certainly a unique hike.

Please note that the tunnel is closed each year between roughly Nov. 1 and May 1 due to the dangerous icicles that form inside from seep water.\n
\n \"Visible\"\n \n \"Parking\n \n \n P2\n \n ANNETT\n \n Annette Lake Trailhead (Parking Area)\n \n N 47\u00b0 23.553 W 121\u00b0 28.445 \n \n
\n  \n \n Note:\n \n The only reasonable access point when the Snoqualmie Tunnel is closed (as it is during the winter) and a bit more scenic. Note that there are three paths leading out of the parking lot at this point. The Annette Lake Trail is the middle one. To its left lies the Asahel Curtis Nature Trail and to its right lies gated Forest Road #5590.

Note that a Northwest Forest Pass day pass or annual pass is needed to park at this trailhead.\n
\n \"Visible\"\n \n \"Reference\n \n \n R2\n \n INTSCT\n \n Intersection of Annette Lake Trail and Iron Horse (Reference Point)\n \n N 47\u00b0 23.087 W 121\u00b0 28.227 \n \n
\n  \n \n Note:\n \n This waypoint marks the intersection at which you should leave the Annette Lake Trail for the Iron Horse Trail. See this photo for a view of what the intersection looks like as you approach it.\n
\n \n

\n Show Hidden Waypoints\n Hide Hidden Waypoints\n \n

\n\n\n\r\n

\r\n \r\n
\r\n\t\t\r\n
\r\n \r\n
\r\n
\r\n

\r\n View Larger Map\r\n

\r\n
\r\n
\r\n \r\n\t
\r\n \r\n

\r\n Find...\r\n
\r\n \r\n

\r\n \r\n

\r\n For online maps...\r\n

\r\n \r\n \n\r\n \r\n \r\n \r\n
\r\n

\r\n 6,696 Logged Visits\r\n

\r\n

\"Found 5,580     \"Didn't 8     \"Write 1,096     \"Archive\" 1     \"Unarchive\" 1     \"Temporarily 1     \"Enable 1     \"Needs 2     \"Owner 3     \"Update 3     

\r\n

\r\n View Logbook\u00a0|\u00a0View the Image Gallery of 4,980 images\r\n

\r\n

\r\n **Warning! Spoilers may be included in the descriptions or links.\r\n

\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \"Loading\"\r\n Loading Cache Logs...\r\n
\r\n
\r\n

\r\n \r\n Current Time:
Last Updated:
Rendered From:Unknown
Coordinates are in the WGS84 datum\r\n
\r\n

\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n Return to the Top of the Page\r\n \r\n \n\n\n\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n \n\n
\n
\n

\n Reviewer notes\n

\n

\n Use this space to describe your geocache location, container, and how it's hidden to your reviewer. If you've made changes, tell the reviewer what changes you made. The more they know, the easier it is for them to publish your geocache. This note will not be visible to the public when your geocache is published.\n

\n \n
\n \n
\n
\n
\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n" + }, + "headers": { + "Cache-Control": [ + "no-cache" + ], + "Content-Length": [ + "158100" + ], + "Content-Type": [ + "text/html; charset=utf-8" + ], + "Date": [ + "Fri, 24 Apr 2020 05:38:14 GMT" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:019d82c2-5dd7-44cb-aa94-01e052f0d40c" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "Set-Cookie": [ + "gspkauth=; domain=.geocaching.com; expires=Sun, 24-May-2020 05:38:11 GMT; path=/; secure; HttpOnly", + "Culture=en-US; path=/" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "1" + ] + }, + "status": { + "code": 200, + "message": "OK" + }, + "url": "https://www.geocaching.com/geocache/GC1169_mission-9-tunnel-of-light" + } + } + ], + "recorded_with": "betamax/0.8.1" +} diff --git a/test/test_cache.py b/test/test_cache.py index d0946c8..727902f 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -342,17 +342,45 @@ def test_cache_types(self): Known problem: Locationless cache have to be called first. If called after Geocaching Headquarters the server answers with 500 ''' + with self.subTest("Locationless"): - with self.recorder.use_cassette('cache_locationless'): + with self.recorder.use_cassette('cache_type_locationless'): cache = self.gc.get_cache('GC8FR0G') cache.load() - print(cache.type) + self.assertEqual(cache.type, Type.locationless) + + with self.subTest("Project A.P.E."): + with self.recorder.use_cassette('cache_type_projectape'): + cache = self.gc.get_cache('GC1169') + cache.load() + self.assertEqual(cache.type, Type.project_ape) + + with self.subTest("Giga Event"): + with self.recorder.use_cassette('cache_type_gigaevent'): + cache = self.gc.get_cache('GC7WWWW') + cache.load() + self.assertEqual(cache.type, Type.giga_event) + + with self.subTest("Geocaching HQ Celebration"): + with self.recorder.use_cassette('cache_type_hq_celebration'): + cache = self.gc.get_cache('GC896PK') + cache.load() + self.assertEqual(cache.type, Type.hq_celebration) + + with self.subTest("Community Celebration Event"): + with self.recorder.use_cassette('cache_type_community_celebration'): + cache = self.gc.get_cache('GC8K09M') + cache.load() + self.assertEqual(cache.type, Type.community_celebration) with self.subTest("Geocaching Headquarters"): - with self.recorder.use_cassette('cache_headquarters'): + with self.recorder.use_cassette('cache_type_headquarters'): cache = self.gc.get_cache('GCK25B') cache.load() print(cache.type) + self.assertEqual(cache.type, Type.geocaching_hq) + + class TestWaypointProperties(unittest.TestCase): def setUp(self): From 20804ecaf697f250f9199d9be25bfb4fdef0131c Mon Sep 17 00:00:00 2001 From: CachingFoX Date: Sun, 3 May 2020 10:51:43 +0200 Subject: [PATCH 3/4] remove strength comment - is not true - it was a layer 8 problem :-) --- test/test_cache.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/test_cache.py b/test/test_cache.py index 727902f..0b4f241 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -338,11 +338,6 @@ def test_post_log(self, mock_request, mock_load_log_page): mock_request.assert_called_with(self.c._get_log_page_url(), method="POST", data=expected_post_data) def test_cache_types(self): - ''' - Known problem: Locationless cache have to be called first. If called after - Geocaching Headquarters the server answers with 500 - ''' - with self.subTest("Locationless"): with self.recorder.use_cassette('cache_type_locationless'): cache = self.gc.get_cache('GC8FR0G') @@ -381,7 +376,6 @@ def test_cache_types(self): self.assertEqual(cache.type, Type.geocaching_hq) - class TestWaypointProperties(unittest.TestCase): def setUp(self): self.w = Waypoint("id", "Parking", Point("N 56° 50.006′ E 13° 56.423′"), From 0217e30eeebd6db0afa0cf600b8a6d87669b6a34 Mon Sep 17 00:00:00 2001 From: CachingFoX Date: Sun, 3 May 2020 11:02:25 +0200 Subject: [PATCH 4/4] add two name puzzle, gps_maze and some non-functional changes (comments) remove TODO reminder --- pycaching/cache.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pycaching/cache.py b/pycaching/cache.py index c8cdb05..dc5e488 100644 --- a/pycaching/cache.py +++ b/pycaching/cache.py @@ -1195,13 +1195,14 @@ def note(self, note): class Type(enum.Enum): """Enum of possible cache types. - Values are cache image filenames - http://www.geocaching.com/images/WptTypes/[VALUE].gif + according to + * https://www.geocaching.com/app/ui-icons/sprites/cache-types.svg + * https://www.geocaching.com/about/cache_types.aspx """ - # TODO cleanup according to https://www.geocaching.com/app/ui-icons/sprites/cache-types.svg traditional = "2" multicache = "3" - mystery = unknown = "8" + mystery = unknown = puzzle = "8" letterbox = "5" event = "6" mega_event = "453" @@ -1214,14 +1215,17 @@ class Type(enum.Enum): lost_and_found_event = community_celebration = "3653" project_ape = "9" geocaching_hq = groundspeak_hq = "3773" - gps_adventures_exhibit = "1304" + gps_adventures_exhibit = gps_maze = "1304" groundspeak_block_party = "4738" locationless = reverse = "12" hq_celebration = "3774" @classmethod def from_filename(cls, filename): - """Return a cache type from its image filename.""" + """Return a cache type from its image filename. + + Values are cache image filenames - http://www.geocaching.com/images/WptTypes/[VALUE].gif + """ # fuck Groundspeak, they sometimes use 2 exactly same icons with 2 different names name_mapping = { "ape_32": "9",