dpguthrie / dpguthrie/yahooquery

"User is not logged in" Error When Using Research Class for Yahoo Premium Access

Open
#320 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
920
Forks
164
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Authentication using the Research class in yahooquery[premium] is no longer working for me. Attempts to retrieve data now return 'User is not logged in', even though this was working as recently as last month.

**To Reproduce**

```
from yahooquery import Research

r = Research(username='enter_username', password='enter_password')
from yahooquery import Ticker
t = Ticker("AAPL", session=r.session, crumb=r.crumb)

tags = ['OperatingCashFlow', 'CapitalExpenditure', 'FreeCashFlow']
data = t.p_get_financial_data(tags, trailing=False)

print(data)
```

**Expected behavior**
Previously, the Research object successfully authenticated using my Yahoo Finance Premium credentials and allowed access to premium data via p_get_financial_data().

**Environment:**

I have an active Yahoo Finance Premium subscription

App password (not regular password) is being used

selenium is installed and configured

Package installed with: pip install yahooquery[premium]

This setup has worked consistently for the past year

**Additional context**
Authentication errors began occurring in early May 2025. I haven’t changed my environment or credentials. I suspect there may have been a change on Yahoo’s end that affects login or session handling.

Would appreciate guidance on whether a change in the login flow is now required, or if there's a known workaround.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.