Update l.py
Added Linux.com Friday Funnies.
This commit is contained in:
parent
cfc456e760
commit
265c03fc82
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