Added TwoGuysAndGuy

This commit is contained in:
Bastian Kleineidam 2013-04-25 21:23:31 +02:00
parent 382c4c05ad
commit 725824f067
2 changed files with 13 additions and 1 deletions

View file

@ -2,7 +2,7 @@ Dosage 2.2 (released xx.xx.2013)
Features: Features:
- comic: Added ARedTailsDream, Carciphona, Curtailed, GirlGenius, - comic: Added ARedTailsDream, Carciphona, Curtailed, GirlGenius,
Lackadaisy, SabrinaOnline, TheDreamlandChronicles. Lackadaisy, SabrinaOnline, TheDreamlandChronicles, TwoGuysAndGuy.
Patch by Dirk Reiners Patch by Dirk Reiners
Changes: Changes:

View file

@ -209,3 +209,15 @@ class TracyAndTristan(_BasicScraper):
imageSearch = compile(tagre("img", "src", r'(%simages/comics/[^"]+)' % rurl)) imageSearch = compile(tagre("img", "src", r'(%simages/comics/[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(/comics/\d+)', after="prev")) prevSearch = compile(tagre("a", "href", r'(/comics/\d+)', after="prev"))
help = 'Index format: number' help = 'Index format: number'
class TwoGuysAndGuy(_BasicScraper):
description = u"Two Guys and Guy"
url = 'http://www.twogag.com/'
rurl = escape(url)
stripUrl = url + 'archives/%s'
firstStripUrl = stripUrl % '4'
imageSearch = compile(tagre('img', 'src', r'(%scomics/\d{4}-\d{2}-\d{2}[^"]*)' % rurl))
prevSearch = compile(tagre('a', 'href', r'(%sarchives/\d+)' % rurl, after='title="Previous"'))
help = 'Index format: number'
adult = True