LWN (Free) by yodha8

Merge branch 'patch-1' of https://github.com/yodha8/calibre
This commit is contained in:
Kovid Goyal 2022-05-02 07:19:03 +05:30
commit 90c9dff2dc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

15
recipes/lwn_free.recipe Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class LWNFree(BasicNewsRecipe):
title = "LWN Linux Weekly News (Free)"
description = "LWN is published every Thursday. Recipe skips current week's articles (subscriber-only) and pulls free articles from previous week."
oldest_article = 14 # So we can grab previous week articles.
max_articles_per_feed = 100
auto_cleanup = True
feeds = [
('LWN Articles', 'https://lwn.net/headlines/Features'),
]