Awesome, thanks.  

https://github.com/beancount/beancount/pull/668/commits/03335ba8d158729dbbb97f1d4ba06b6a59a7b9d3
 
fixes it.

On Saturday, July 10, 2021 at 11:56:56 PM UTC-4 [email protected] wrote:

> 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/8d8cf38a-4266-4697-99bc-45fd419de33dn%40googlegroups.com.

Reply via email to