I’m having problems accessing the Bazqux API using the elfeed protocol in EMacs.
When I try using curl everything works:
curl -s -F "api_key=MD5_API_KEY" 'https://bazqux.com/fever/?api&feeds'
But with this configuration the authentication fails:
(use-package elfeed
:ensure t)
(use-package elfeed-protocol
:ensure t)
(setq elfeed-log-level 'debug)
(setq elfeed-use-curl t)
(elfeed-set-timeout 36000)
(setq elfeed-protocol-fever-update-unread-only t)
(setq elfeed-protocol-fever-fetch-category-as-tag nil)
(setq elfeed-protocol-feeds '(("fever+https://user@domain.com@bazqux.com"
:api-url "https://bazqux.com/fever/"
:password "MD5_API_KEY")))
(setq elfeed-protocol-enabled-protocols '(fever))
(elfeed-protocol-enable)
Here’s the log:
[debug]: elfeed-protocol-fever: update feed list
[debug]: retrieve (https://bazqux.com/fever/?api&feeds)
[error]: elfeed-protocol-fever: authentication failed, wrong username or password
I’ve generated the MD5_API_KEY doing an MD5 of “email:password”