You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So maybe in the performAdditionalAnalysis func we should just call this, or am I missing something? newNavigations := h.options.Parser.ParseResponse(rr.Response)
Is the missing InitWithOptions here intentional, or am I missing something? I haven't tested this change yet, but I can try when I have free time.
@ehsandeep@Ice3man543 - if you happen to recall the reasoning behind this, that would be very helpful. Happy to open a PR with the change (and a test) if it's just an oversight.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, when I read the katana code for integration as a lib, I noticed this in the headless engine
katana/pkg/engine/headless/headless.go
Lines 237 to 238 in 0f80ea8
So we don't provide init options as in the hybrid and basic crawl
katana/pkg/types/crawler_options.go
Lines 60 to 68 in 0f80ea8
Moreover, we have an inited parser in the headless crawler struct
katana/internal/runner/runner.go
Line 88 in 0f80ea8
katana/internal/runner/runner.go
Line 101 in 0f80ea8
So maybe in the performAdditionalAnalysis func we should just call this, or am I missing something?
newNavigations := h.options.Parser.ParseResponse(rr.Response)Is the missing InitWithOptions here intentional, or am I missing something? I haven't tested this change yet, but I can try when I have free time.
@ehsandeep @Ice3man543 - if you happen to recall the reasoning behind this, that would be very helpful. Happy to open a PR with the change (and a test) if it's just an oversight.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions