mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
parent
d76bf7a13d
commit
929879dc10
22
recipes/mens_day_out.recipe
Normal file
22
recipes/mens_day_out.recipe
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# vim:fileencoding=utf-8
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
|
def classes(classes):
|
||||||
|
q = frozenset(classes.split(' '))
|
||||||
|
return dict(
|
||||||
|
attrs={'class': lambda x: x and frozenset(x.split()).intersection(q)})
|
||||||
|
|
||||||
|
|
||||||
|
class MensDayOut(BasicNewsRecipe):
|
||||||
|
title = 'Mens Day Out'
|
||||||
|
__author__ = 'Vishvas Vasuki'
|
||||||
|
language = 'en_IN'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
auto_cleanup = True
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
('MDO main', 'https://mensdayout.com/feed/'),
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user