I've noticed the feeling lucky url (with
btnI query parameter) is now resulting in a redirect notice page. What's the deal?
Looks like they've introduced a csrf-like mechanism in the form of a query parameter (
iflsig). I've tried copying the one generated from a traditional "Feeling Lucky" request into my search url:
Which does work temporarily, but this token is ephemeral and invalidates after a few minutes, so it's not a real solution.
Not sure if anyone from Google has commented on this, but I'll circle back if I hear of any developments.
Update: My workaround is to just use DuckDuckGo instead.
E.g. for first result from Wikipedia:
%5C (url-encoded backslash) is the redirect identifier here.
Using this search string works for me:
Where %s is the placeholder for the actual search term. Not sure what the meaning of sourceid and gfns is though.
Workaround for Google I'm Feeling Lucky Redirect
Immediately redirects when google prompts 'redirection notice'. Used to circumvent google pestering you when querying with I'm Feeling Lucky feature.