-
Notifications
You must be signed in to change notification settings - Fork 0
RateLimitError
adasThePrime edited this page Apr 13, 2026
·
1 revision
Raised on HTTP 429. This indicates that Yahoo has rate-limited the session or IP address. The recommended approach is to catch the error, wait for a period of time, and then retry or create a session using a proxy. A residential proxy is recommended to reduce the likelihood of being blocked again or to minimize the frequency of such blocks.
from pyahoo import RateLimitError
# or
from pyahoo.exceptions import RateLimitErrorPyahooError
├── AuthenticationError
├── APIError
│ ├── RateLimitError <- You are here
│ └── NotFoundError
└── StreamingError
-
status_code (
int): HTTP status code, always 429.