[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-w3m/emacs-w3m] What does 'no such anchor' means and how-to sort it out? (#97)
- From: Boruch Baum <notifications@xxxxxxxxxx>
- Date: Tue, 13 Jul 2021 12:57:02 -0700
- X-ml-name: emacs-w3m
- X-mail-count: 13793
- References: <emacs-w3m/emacs-w3m/issues/97@github.com>
On 2021-07-13 11:50, touxstone wrote:
> ...
> No such anchor: result?query=inquired&lang=en&f=concordance
> ...
> (add-to-list 'w3m-search-engine-alist
> '("skell" "https://skell.sketchengine.eu/#result?query=%s&lang=en&f
> =concordance"))
My availability looks to be limited this week, so I can't be relied upon
to research this further this week.
For me, using the URL with w3m (outside of emacs) produces a
non-response with no error exit code. Using only the base part of the
URL path produces what looks like a version number.
Using firefox, the website seems to require _javascript_ for all its
functionality, so if there is a bug, fixing the bug won't help
@touxstone perform the search because both w3m and emacs-w3m reject the
notion of _javascript_ support (a major reason why I use those two
programs).
So it seems to me that there is no bug here. Presuming emacs-w3m
processes the request properly, the resulting HTML is an empty page due
to lack of JS support. emacs-w3m then correctly looks for the anchor
'result' and correctly does not find it, and correctly reports this.
You can try this out for any non-JS URL, and see the same behavior. For
example:
http://emacs-w3m.namazu.org/#result
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.