Merge branch 'patch-2' of https://github.com/mbrandis/dosage into mbrandis-patch-2
This commit is contained in:
commit
36b8dcea04
1 changed files with 9 additions and 0 deletions
|
@ -93,3 +93,12 @@ class LookingForGroup(_BasicScraper):
|
||||||
compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="feature-previous")))
|
compile(tagre("a", "href", r'(%spage/[-0-9]+/)' % rurl, after="feature-previous")))
|
||||||
nameSearch = compile(r'/page/([-0-9]+)/')
|
nameSearch = compile(r'/page/([-0-9]+)/')
|
||||||
help = 'Index format: nnn'
|
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'<img src="(/news/friday-funnies/episode/.+?\?format=image)')
|
||||||
|
prevSearch = compile(r'<a href="(/news/friday-funnies/.+?)">Previous')
|
||||||
|
description = u'Friday Funnies on Linux.com'
|
||||||
|
|
Loading…
Reference in a new issue