Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped working - no longer populates the screen #2

Closed
RGN01 opened this issue Jun 26, 2021 · 11 comments
Closed

Stopped working - no longer populates the screen #2

RGN01 opened this issue Jun 26, 2021 · 11 comments

Comments

@RGN01
Copy link

RGN01 commented Jun 26, 2021

SpanishWordOfTheDay
SpanishWordOfTheDay1

After working perfectly for a few weeks (thank you for a great module, @daniel-windsor ) MMM-eswordoftheday has suddenly stopped working. To my VERY amateur eye it appears to not be getting the correct response from the website.

If I use Chromium on the Pi, it renders the https://www.spanishdict.com/wordoftheday page perfectly.

As you can see on the images, I have tried to debug but have so little prior understanding of MM and css, I'm fumbling in the dark! ;-) so any help would be VERY much appreciated!

Thanks.

@daniel-windsor
Copy link
Owner

Thanks for letting me know! I would guess the web scraper isn't working because they changed something about their site. I'll check it out.

@RGN01
Copy link
Author

RGN01 commented Jun 26, 2021

Thank you so much!

@RGN01
Copy link
Author

RGN01 commented Jul 13, 2021

Hi Daniel. Is there anything I can do to help? I am by no means a programmer but can 'dabble' and can test if that helps?

@thefonz88
Copy link

I was really looking forward to use this module for my wife's mirror but I'm having the same issue with no data.

@AndreRH
Copy link

AndreRH commented Aug 5, 2021

Same here

@smrz10
Copy link

smrz10 commented Sep 14, 2021

I did this changes (node_helper.js):

//const container = $(".entry--1qTEOKKt")[0];
container = $("._1qTEOKKt")[0];

and it works
`

@RGN01
Copy link
Author

RGN01 commented Sep 14, 2021

THANK YOU!

I edited the node_helper.js file inline, then rebooted and it worked! I did have to make a slight change to your text above and ended up with (I did try formatting as code but couldn't force the new line on here):
//const container = $(".entry--1qTEOKKt")[0];
const container = $("._1qTEOKKt")[0];

Thank you so much - my wife is learning Spanish and this will make her day!

@AndreRH
Copy link

AndreRH commented Sep 14, 2021

I did this changes (node_helper.js):

//const container = $(".entry--1qTEOKKt")[0];
container = $("._1qTEOKKt")[0];

and it works
`

You should do a pull request

@smrz10
Copy link

smrz10 commented Sep 15, 2021

THANK YOU!

I edited the node_helper.js file inline, then rebooted and it worked! I did have to make a slight change to your text above and ended up with (I did try formatting as code but couldn't force the new line on here):
//const container = $(".entry--1qTEOKKt")[0];
const container = $("._1qTEOKKt")[0];

Thank you so much - my wife is learning Spanish and this will make her day!

De nada ;-) (You're welcome)

@smrz10
Copy link

smrz10 commented Sep 15, 2021

I did this changes (node_helper.js):
//const container = $(".entry--1qTEOKKt")[0];
container = $("._1qTEOKKt")[0];
and it works
`

You should do a pull request

Yes, I'll try this week

@daniel-windsor
Copy link
Owner

Fixed. Only took nearly a year 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants