Change the url used to get the cookie from finance.yahoo.com to fc.yahoo.com
This works around the fact that the "finance" subdomain redirects to a consent page (https://guce.yahoo.com/consent) and doesn't allow curl to properly set the cookie needed in subsequent steps
Change the url used to get the cookie from
finance.yahoo.com
tofc.yahoo.com
This works around the fact that the "finance" subdomain redirects to a consent page (
https://guce.yahoo.com/consent
) and doesn't allow curl to properly set the cookie needed in subsequent stepsFixes https://github.com/pstadler/ticker.sh/issues/37 and https://github.com/pstadler/ticker.sh/issues/33 A more detailed explanation of the problem and how I found this solution/workaround can be found at https://github.com/pstadler/ticker.sh/issues/37#issuecomment-1596979021