Jocelyn Legault
Jocelyn Legault
So I have a fix for this and I have opened a PR for it. Not sure who should be reviewing it. I also have "modernized" the finance-mock project used...
Is it, though? There were a couple of PR that were merged a month ago by @ackleymi .
Doesn't look like I can add you, but feel free to head over the the PR and comment on it: https://github.com/piquette/finance-go/pull/28
I don't have access to a machine with the library on it atm. I'll check about this later today. On Thu, Jul 20, 2023 at 3:32 PM ktpx ***@***.***> wrote:...
You need to have a cookie set when you call getcrumb. Just calling to it from curl won't work. On Thu, Jul 20, 2023 at 4:19 PM ktpx ***@***.***> wrote:...
Hum. I don't know what to say. I just ran the "examples" program (examples/main.go) from my branch, and everything works nicely. On Fri, Jul 21, 2023 at 10:54 AM ktpx...
cookieURL = "https://login.yahoo.com" userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0" func fetchCookies() (string, time.Time, error) { client := http.Client{} request, err := http.NewRequest("GET", cookieURL, nil) if...
I will refer you to my pull request: https://github.com/piquette/finance-go/pull/28 You should be able to get everything you need there.
Have you sync'd my branch and run the `examples` program?
Same here.