yfinanceがバグったので、pip updateで対応

<!-- wp:heading -->
<h2 class="wp-block-heading">株価取得プログラムが動かない</h2>
<p>alphavantage APIとか使って、以下のような株アプリを作ってる</p>

https://stonehills.tokyo/financer/
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>原因調査のため、サンプルプログラムを作成して、実行</p>
<!-- /wp:paragraph -->

<!-- wp:preformatted -->
<pre class="wp-block-preformatted">import mysql.connector
import yfinance as yf
import json

ticker = yf.Ticker("GOOG")

print(ticker.info)</pre>
<!-- /wp:preformatted -->

<!-- wp:preformatted -->
<pre class="wp-block-preformatted"> File "/usr/local/lib/python3.9/dist-packages/yfinance/data.py", line 209, in get_raw_json
    response.raise_for_status()
  File "/usr/local/lib/python3.9/dist-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://query2.finance.yahoo.com/v10/finance/quoteSummary/GOOG?modules=summaryProfile%2CfinancialData%2CquoteType%2CdefaultKeyStatistics%2CassetProfile%2CsummaryDetail&amp;ssl=true</pre>
<!-- /wp:preformatted -->

<!-- wp:paragraph -->
<p>確かにエラーになる。。ふむふむ、これは調査せねば</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">GitHubを調べた</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><a href="https://github.com/ranaroussi/yfinance/issues/1592">https://github.com/ranaroussi/yfinance/issues/1592</a><br>HTTPError: 401 Client Error: Unauthorized for url<br>とある。これだな。<br>これはサードパーティのライブラリで、<br> Yahoo側もいろいろ差し替えるから、いたちごっこなんだろう</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">対応方法</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>pip をアップデート</p>
<!-- /wp:paragraph -->

<!-- wp:preformatted -->
<pre class="wp-block-preformatted">$ pip install yfinance -U
Requirement already satisfied: yfinance in /usr/local/lib/python3.9/dist-packages (0.2.18)
Collecting yfinance
  Downloading yfinance-0.2.26-py2.py3-none-any.whl (62 kB)
     |????????????????????????????????| 62 kB 705 kB/s
Requirement already satisfied: html5lib&gt;=1.1 in /usr/local/lib/python3.9/dist-packages (from yfinance) (1.1)
Requirement already satisfied: multitasking&gt;=0.0.7 in /usr/local/lib/python3.9/dist-packages (from yfinance) (0.0.11)
Requirement already satisfied: frozendict&gt;=2.3.4 in /usr/local/lib/python3.9/dist-packages (from yfinance) (2.3.8)
Requirement already satisfied: requests&gt;=2.31 in /usr/local/lib/python3.9/dist-packages (from yfinance) (2.31.0)
Requirement already satisfied: lxml&gt;=4.9.1 in /usr/local/lib/python3.9/dist-packages (from yfinance) (4.9.2)
Requirement already satisfied: numpy&gt;=1.16.5 in /usr/local/lib/python3.9/dist-packages (from yfinance) (1.24.3)
Requirement already satisfied: appdirs&gt;=1.4.4 in /usr/local/lib/python3.9/dist-packages (from yfinance) (1.4.4)
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed yfinance-0.2.26</pre>
<!-- /wp:preformatted -->

<!-- wp:paragraph -->
<p><br></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>修正確認</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>なおった。よかったー。
Googleの株価情報がちゃんと取れている</p>
<!-- /wp:paragraph -->

<!-- wp:preformatted -->
<pre class="wp-block-preformatted">h$ python3 yfinance_test.py
{'address1': '1600 Amphitheatre Parkway', 'city': 'Mountain View', 'state': 'CA', 'zip': '94043', 'country': 'United States', 'phone': '650 253 0000', 'website': 'https://www.abc.xyz', 'industry':