This is an issue with yahoo recently denying requests from python.  See 
https://github.com/beancount/beancount/issues/667.

On Saturday, July 10, 2021 at 6:06:54 PM UTC-7 Desi Mas wrote:

> I've been using the yahoo price source successfully up until two days 
> ago.  Beancount hasn't been updated, so it must be something with the API.  
> I couldn't find anything on the yahoo website, so wanted to check here if 
> others are getting an error too.
>
> The command and error are:
>
> bean-price -e "USD:yahoo/SCHA"
>
> ERROR   : Error fetching SCHA: Expecting value: line 1 column 1 (char 0)
> ERROR   : Could not fetch for job: DatedPrice(base='SCHA', quote='USD', 
> date=None, sources=[PriceSource(module=<module 
> 'beancount.prices.sources.yahoo' from 
> '/usr/lib/python3.9/site-packages/beancount/prices/sources/yahoo.py'>, 
> symbol='SCHA', invert=False)])
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/ec653eb2-6dc1-441b-b59c-dc8ba1429365n%40googlegroups.com.

Reply via email to