From 265c03fc822852a60b6ce1c7240099d368201183 Mon Sep 17 00:00:00 2001 From: mbrandis Date: Sun, 23 Jun 2013 22:28:08 +0200 Subject: [PATCH] Update l.py Added Linux.com Friday Funnies. --- dosagelib/plugins/l.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 16139c859..af332e283 100644 --- a/dosagelib/plugins/l.py +++ b/dosagelib/plugins/l.py @@ -93,3 +93,12 @@ class LookingForGroup(_BasicScraper): compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="feature-previous"))) nameSearch = compile(r'/page/([-0-9]+)/') help = 'Index format: nnn' + +class LinuxComFridayFunnies(_BasicScraper): + description = u"Linux.com: Friday Funnies" + url = 'https://www.linux.com/news/friday-funnies/' + stripUrl = url + '%s' + firstStripUrl = stripUrl % 'the-road-to-japan' + imageSearch = compile(r'Previous') + description = u'Friday Funnies on Linux.com'