MMM-eswordoftheday not showing words
MMM-eswordoftheday has been working fine for a few weeks but suddenly it does not show any Spanish words. When MM starts up it says ‘Spanish Word of the Day’ and ‘Loading’ and then it seems to time out and replace ‘Loading’ with the 1. and 2. where the examples were - but no Spanish words, English translations or examples.
The Pi can access https://www.spanishdict.com/wordoftheday from the Chromium browser so it is not a network access issue, I don’t think.
I’ve removed and re-installed MMM-eswordoftheday but that didn’t help.
Does anyone have any suggestions for correcting this, please?
Being a novice at MM and js, I’m slowly building my knowledge while trying to figure this out!
I’ve discovered the Developers Window but am not yet clear on what all it does!
I have found this, though, and it seems to indicate that the return from https://www.spanishdict.com/wordoftheday is blank / null.
My current hypothesis is that the website has changed something but I am pretty much going by trial and error as I’m way out of my depth so if anyone can throw any light I’d be very grateful!
@rgn01 very good detective work!
now we need the module author to figure out how to fix this.
u can open an issue on the module github page
@sdetweil thank you. Yup, I figured that out, too! A steep learning curve but well worth it!
As you say, hopefully the module author can assist.
Author (@daniel-windsor) has responded on the Git issue I logged - and has said he will try to fix - so
Unfortunately I have not heard from Daniel again. I have tried editing the code but am waaaaay out of my depth!
Does anyone know of an alternative, or be willing to have a go to fix this, please?
Great news - Daniel has fixed it and has the details on his GitHub …
Fix was so easy to implement once he posted that. I simply edited the updated the node_helper.js file as follows:
//const container = $(".entry--1qTEOKKt"); const container = $("._1qTEOKKt");
@daniel-windsor, thank you, sir!