Updated linuxcom

This commit is contained in:
Bastian Kleineidam 2013-06-24 20:27:43 +02:00
parent 36b8dcea04
commit da957ce329
2 changed files with 11 additions and 10 deletions

View file

@ -1,7 +1,7 @@
Dosage 2.4 (released xx.xx.2013)
Features:
- comics: Added OnTheFasttrack.
- comics: Added LinuxComFridayFunnies and OnTheFasttrack.
Dosage 2.3 (released 26.5.2013)

View file

@ -61,6 +61,16 @@ class Lint(_BasicScraper):
help = 'Index format: yyyy/mm/dd/num-name'
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(tagre("img", "src", r'(/news/friday-funnies/episode/[^"]+\?format=image[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(/news/friday-funnies/[^"]+)') + "Previous")
help = 'Index format: stripname'
class LittleGamers(_BasicScraper):
description = u'The comic everyone knows, but no one reads'
url = 'http://www.little-gamers.com/'
@ -93,12 +103,3 @@ 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'<img src="(/news/friday-funnies/episode/.+?\?format=image)')
prevSearch = compile(r'<a href="(/news/friday-funnies/.+?)">Previous')
description = u'Friday Funnies on Linux.com'