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

TypeError: can only concatenate str (not "NoneType") to str #175

Open
Edison0019 opened this issue Dec 25, 2023 · 2 comments
Open

TypeError: can only concatenate str (not "NoneType") to str #175

Edison0019 opened this issue Dec 25, 2023 · 2 comments

Comments

@Edison0019
Copy link

Edison0019 commented Dec 25, 2023

When trying to use any of the get_* methods I'm getting this error:

image

@netjens
Copy link

netjens commented Dec 27, 2023

the self.crumb attribute is None, not sure what this crumb is about , but call of
response = session.get('https://fc.yahoo.com')
fails in sessions.py, therefore crumb is None

@JECSand
Copy link
Owner

JECSand commented Dec 29, 2023

@Edison0019 I'm unable to reproduce this error. I have tried from both US and EU IPs.

@netjens Yahoo is in the process of evolving their APIs. This makes sense, given their last major evolution was about 7 years ago now. Part of this evolution is requiring a cookie and crumb to make requests. Due to the current state of everything, I've been focused on hardening YF to minimize the impacts of this transition.

I'll include additional hardening to better handle null crumbs in v1.21, which I plan to have out before New Years.

Once Yahoo stabilizes again (hopefully sometime next year), I'm going to do a full rewrite of this library.

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