Skip to Content.
Sympa Menu

emacspeak - Re: [Emacspeak] google searches failing

Subject: Emacspeak discussion list

List archive

Re: [Emacspeak] google searches failing


Chronological Thread 
  • From: Tim Cross <theophilusx AT gmail.com>
  • To: "peter.julien.rayner" (via emacspeak Mailing List) <emacspeak AT emacspeak.net>
  • Cc: peter.julien.rayner AT gmail.com
  • Subject: Re: [Emacspeak] google searches failing
  • Date: Tue, 18 Feb 2025 12:09:09 +1100


Further update on this.

Emacspeak has built in support to masquerade as a different browser. The
variable emacspeak-eww-masquerade is true when masquerading is on and
the function emacspeak-eww-masquerade can be used to toggle masquerading
on and off.

When masquerading is on, which I think is the default, the variable
emacspeak-eww-masquerade-as is used to set the User-Agent header.

So, my guess is that if we find the correct value for the user agent and
set emacspeak-eww-masquerade-as to that value, google search will work
again. However, Raman does tend to make a fair bit of use of XSLT
transformations to massage results into a more accessible structure. It
is possible that when we modify the user-agent string that this will
modify the structure of the returned document and cause issues with the
XSLT parsing, so there could be some further knock on side effects that
will need to be diagnosed and fixed once we do get google to respond
with data.

Tim

"peter.julien.rayner" (via emacspeak Mailing List) <emacspeak AT emacspeak.net>
writes:

> Has anyone else had google searches stop working in the last few days?
> The sequence
> ctrl-e <ret> testing google search<ret>
> yields
> Summary: 0 Nodes Matching //\*\[\(\@id\="main"\)\] in document.
>
> the same search returns results when run from chrome.
> This happened about the same time I was configuring rclone and getting
> a client id for rclone but that is probably coincidence. More likely
> google just changed format slightly so the regexp isn't working.
> Before I dig can someone else let me know if they can reproduce? This
> is with emacs 29.3 under ubuntu 24.04 and using emacspeak master from
> github.
> cheers
> Peter



Archive powered by MHonArc 2.6.19+.

Top of Page