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
Could not fetch newsfeed - Error: Forbidden #2729
Comments
This seems to be a problem of the provided User-Agent header. Someone coded this line with a funny header containing node version, mm version and more. With this header the fetch is blocked by actu.fr (and maybe by other newsfeed providers). If I change this line to So question at other contributors: Do we need all the stuff in current "User-Agent" or can we just provide "Mozilla/5.0"? |
Seems like this PR #559 made the change, maybe @roramirez can weigh in on it. I'd guess that if the simple Mozilla header works, we should use it. |
Did some more tests: works: So |
Sounds reasonable! +1 from me! |
Amazing reactivity, thank you guys 👏🏻 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello,
Platform: RPi 3 on Raspbian
Node Version: 16
MagicMirror Version: 2.17.1
Description: I’ve an error while i want to fetch https://actu.fr/toulouse/rss.xml on newsfeed.
Steps to Reproduce: Just add this url on newsfeed module
Actual Results:
It's ok with some others XML :)
Thank you for your help.
The text was updated successfully, but these errors were encountered: