Scrape sensor on geocaching.com

I have trouble with this scrape on geocaching.com – I want to scrape my Finds

Scrape

  • platform: scrape
    name: geocaching
    resource: https://www.geocaching.com/play/search
    authentication: basic
    username: username
    password: password
    select: “.cache-count”
    headers:
    User-Agent: Mozilla/5.0

image

1 Like

The authentication is for “HTTP authentication” not for a login form like on geocaching.com

To scrape you finds make them available in you public profile. You can do that on this page: https://www.geocaching.com/my/statistics.aspx

Go to you Account Page and get you MemberID. Now open you public profile and scrape your finds:
https://www.geocaching.com/profile/?id=memberID

Hope that help :slight_smile:

Thanks, but there’s no public profile https://www.geocaching.com/profile/?id= memberID - needs login … :frowning:

Did you manage to download data from this page, e.g. information on trackable items or hidden containers or profile statistics e.t.c?

No, but I made a Iframe from this site : Project-GC - Profile stats
and put it in a markdown card - It workes great.

Mag ik vragen hoe je dit gedaan hebt?
Zou wel tof zijn om dit in mijn HASS te kunnen weergeven

Login to Project GC (link above)
click on Show Dynamic picture HTML code : image

copy the html and make a Markdown card in HA and insert the HTML Code.

Very nice. Thank you! This works for me.

someone knows how to add a new integration gc ? because when I try to add something like this pops up

where can I find the required one OAuth Client ID and Client Secret?

i got this when i add geocaching

(open webpage)
image

and this to accept

and then log in to geocaching.com

for me, nothing like that pops up, and when I click ok (this immediately pops up to me when I choose to add this integration)

what I sent earlier pops up, so any ideas how can i add this integration?even after ha reboot I have the same whether by local or external address

I’ve the same problem!
Any solution?
Thanks!