dosage/dosagelib/plugins/num.py

16 lines
553 B
Python
Raw Normal View History

# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
2012-06-20 19:58:13 +00:00
from re import compile
2012-10-11 15:39:38 +00:00
from ..util import tagre
2012-10-11 10:03:12 +00:00
from ..scraper import _BasicScraper
2012-06-20 19:58:13 +00:00
class NineteenNinetySeven(_BasicScraper):
name = '1997'
latestUrl = 'http://www.1977thecomic.com/'
2012-11-13 18:10:19 +00:00
stripUrl = 'http://www.1977thecomic.com/%s'
2012-10-11 15:39:38 +00:00
imageSearch = compile(tagre("img", "src", r'(http://www\.1977thecomic\.com/comics-1977/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]+)')+"Previous")
2012-06-20 19:58:13 +00:00
help = 'Index format: yyyy/mm/dd/strip-name'