theCrag / website

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform
https://www.thecrag.com/
110 stars 8 forks source link

processmap webhook for archiving gym routes missing? #3926

Open birgander2 opened 3 years ago

birgander2 commented 3 years ago

I'm using a Python script for updating the routes of some local gyms with information taken from their own route database (just privately, I'm not involved in these gyms). This works fine so far using the Selenium web driver. Usually I use these "processmap" webhooks for most of the editing, as it is much easier than clicking around on the page. But is there one for archiving gym routes? I couldn't find or guess it and this mouseover action to reach the pulldown menu of a route is quite prone to errors in practive.

I know that there is a real api which probably makes more sense, but my script is working fine so far and I don't want to rewrite everything.

scd commented 3 years ago

Unfortunately for you archiving gyms is done by pure API.

-- cheers Simon


http://thecrag.com/ Simon Dale Chief Executive Officer @ theCrag @.*** www.thecrag.com

Follow us on Facebook https://www.facebook.com/thecragcom/?fref=ts Follow us on Instagram https://www.instagram.com/thecrag_worldwide/ Follow us on Linkedin https://www.linkedin.com/company/thecrag?trk=biz-companies-cym

On Mon, May 31, 2021 at 5:55 PM Anderl @.***> wrote:

I'm using a Python script for updating the routes of some local gyms with information taken from their own route database (just privately, I'm not involved in these gyms). This works fine so far using the Selenium web driver. Usually I use these "processmap" webhooks for most of the editing, as it is much easier than clicking around on the page. But is there one for archiving gym routes? I couldn't find or guess it and this mouseover action to reach the pulldown menu of a route is quite prone to errors in practive.

I know that there is a real api which probably makes more sense, but my script is working fine so far and I don't want to rewrite everything.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/theCrag/website/issues/3926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3CQQGTKLJUKZ42YKYA63TQM6IPANCNFSM452L3KIQ .

birgander2 commented 3 years ago

Well, it's somehow working after all, but quite sensitive to browser setup, version and such. Nevertheless, it would be great if you could add a processmap version for archiving gym routes one day.

lordyavin commented 2 years ago

you may switch to use theCragJAPI ;-)