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:
- comic: Added ARedTailsDream, Carciphona, Curtailed, GirlGenius,
Lackadaisy, SabrinaOnline, TheDreamlandChronicles.
Lackadaisy, SabrinaOnline, TheDreamlandChronicles, TwoGuysAndGuy.
Patch by Dirk Reiners
Changes:

View file

@ -209,3 +209,15 @@ class TracyAndTristan(_BasicScraper):
imageSearch = compile(tagre("img", "src", r'(%simages/comics/[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(/comics/\d+)', after="prev"))
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