rss source that requires_login


#1

Digging through ftr-site-config repo, I found sites which require login in order to let you download your full articles like lwn.net.txt

There are entries like:

requires_login: yes
login_uri: https://lwn.net/Login/
login_username_field: Username
login_password_field: Password

Can this be used in full-text-rss?


#2

These are ignored by Full-Text RSS at the moment, but we might add support for them in the future.

The site config files are also used by the popular Wallabag application, which does make use of those lines. Their users and developers contribute a lot of site config files to the repository, so that’s where they come from.


#3

Just use cookies instead.


#4

How would I do that?
(1) Login into my lwn.net account on my desktop browser.
(2) Exporting the session cookie.
(3) writing a custom lwn.net.txt config?

Could you give me a hint how (3) would look like?


#5

I just figured it out, I had to insert an additional line in lwn.net.txt:
http_header(cookie): LWNSession1=mysessioncookie


#6

Yes, that looks right. Of course if the site expires the cookie you’ll have to do that again, but that’s one way to do it until we add support for login details or introduce some other way to handle sites that require a login.