GHC 2019-11-25

1 comment.

, https://git.io/JeP3E in jarun/googler
Problem still not resolved. I'll turn the patch into a PR soonish and we'll probably need to cut a release.

---

@jarun 

> Is there a way to auto-detect if the results are in markup?

> Looks like we are detecting whether the results are in new markup or earlier.

If you're talking about the `if h3` conditional: both layouts could appear in a modern UA response.

Yeah, we can possibly maintain compatibility with the older layout we were targeting, but since the older layout appears to be gone, there's no point.

Note that we used this `googler (like MSIE)` user agent with the assumption that Google would serve a classic, stable layout to that UA, instead of frequently doing A/B testing on modern browsers. However, that assumption seems broken beyond repair now, so no point in using a non-modern UA now.

> we use the FF user agent

I propose we use a Chrome UA. It is said that FF is more likely to be reCAPTCHA'ed than Chrome (although it's not clear whether that's based on UA detection).

---

@ajithkumar-natarajan I did test my patch with `-N` and it was working for me, and it still does. Please use `--debug` and share the markup like OP did.