sqrtminusone's Blog

sqrtminusone's Avatar Image
Graduate student of Saint-Petersburg State Electrotechnical University.

If I'm not doing something with #Emacs, I'm probably doing something in #Emacs.

Live every day as if it were April 1st.
← All posts

Come on lol.

I’ve implemented parsing of these great pages in #elisp: https://open-meteo.com/en/docs a few days ago. And since then the developers made the contents of accordions dynamically loaded. Which means I can’t just download the page.

Well, I wasn’t planning to do it in runtime anyway, just to make a one-time initialization of constants… Copy-pasting the HTML string from DevTools will work. Not an uncommon occurence in #html parsing it seems.

But it’s still far from the funniest case of https://genius.com, which returns different versions of the page (on the server side) for different browser fingerprints.


To like or reply, open original post on Emacs.ch