Yahoo! Finance API Blocked Access Workarounds |

Опубликовано: 12 Март 2024
на канале: Brandon Jacobson (Jacobson Enterprises)
1,198
9

The Yahoo! Finance API is slowly blocking access to its data. So, you my have got the "Will be right back... Thank you for your patience. Our engineers are working quickly to resolve the issue" error when you try to make an API call. Or, you may have gotten the "code": "Unauthorized", "description:", "Invalid Crumb" JSON response.

And you may have gone to Reddit or StackOverflow and when you tried to use this version:
https://query2.finance.yahoo.com/v10/..., you were told to try other versions like https://query2.finance.yahoo.com/v6/f....

Well, unfortunately, neither work anymore (or in March of 2024 they didn't). My workaround is to use the #yfinance #python library to get the current value and annual dividend information and then #webscrabe using #selenium to get the dividend and next payment date information. If you're interested in the whole code, here are the two videos I reference throughout this video.

Part 1 of building my own dividend tracker:    • Build a Dividend Portfolio Tracker wi...  
Webscraping the NASDAQ website:    • Unleash the Power of Selenium: Webscr...  


Смотрите видео Yahoo! Finance API Blocked Access Workarounds | онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Brandon Jacobson (Jacobson Enterprises) 12 Март 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 1,198 раз и оно понравилось 9 посетителям.