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

gn.get_full_article() returns None when app in .exe #68

Open
alexcohfr opened this issue Aug 29, 2023 · 2 comments
Open

gn.get_full_article() returns None when app in .exe #68

alexcohfr opened this issue Aug 29, 2023 · 2 comments

Comments

@alexcohfr
Copy link

Hello everyone,

I'm trying to make a little program for my father and I have to turn it into a .exe.

The thing is, when I exec my code in VsCode, everything is working perfectly, but as soon as I turn it in a .exe with pyinstaller, I get "None" from gn.get_full_article()

Does anyone know how to solve this issue ?

@ranahaani
Copy link
Owner

can you please share any errors/logs? what's the issue?

@translation-robot
Copy link

Perhaps google consent for cookies makes it fail.

Even when opening the page manually, the page refuses to open on Chrome:

Article download() failed with 500 Server Error: Internal Server Error for url: https://news.google.com/rss/articles/cbmitmh0dhbzoi8vd3d3lmdvdi53ywxlcy9oaxn0b3jpyy10b3rhbc1iyw4tc25hcmvzlwfuzc1nbhvllxryyxbzlxvzzs1jb21lcy1mb3jjzdibaa?oc=5&ucbcb=1&hl=en-US&gl=US&ceid=US:en on URL https://consent.google.com/m?continue=https://news.google.com/rss/articles/cbmitmh0dhbzoi8vd3d3lmdvdi53ywxlcy9oaxn0b3jpyy10b3rhbc1iyw4tc25hcmvzlwfuzc1nbhvllxryyxbzlxvzzs1jb21lcy1mb3jjzdibaa?oc%3d5&gl=ch&m=0&pc=n&cm=2&hl=en-us&src=1

On my browser I get:

  1. That’s an error.

The server cannot process the request because it is malformed. It should not be retried. That’s all we know.

The news URL might not be valid anymore.

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

3 participants