diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index f1d60a229..a771feecd 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -8,7 +8,7 @@ from ..helpers import regexNamer, bounceStarter, indirectStarter class ALessonIsLearned(_BasicScraper): latestUrl = 'http://www.alessonislearned.com/' - imageUrl = 'http://www.alessonislearned.com/lesson%s.html' + stripUrl = 'http://www.alessonislearned.com/lesson%s.html' imageSearch = compile(tagre("img", "src", r"(cmx/lesson\d+\.[a-z]+)")) prevSearch = compile(tagre("a", "href", r"(index\.php\?comic=\d+)", quote="'")+r"[^>]+previous") help = 'Index format: nnn' @@ -16,7 +16,7 @@ class ALessonIsLearned(_BasicScraper): class ASofterWorld(_BasicScraper): latestUrl = 'http://www.asofterworld.com/' - imageUrl = 'http://www.asofterworld.com/index.php?id=%s' + stripUrl = 'http://www.asofterworld.com/index.php?id=%s' imageSearch = compile(tagre("img", "src", r'(http://www\.asofterworld\.com/clean/[^"]+)')) prevSearch = compile(tagre("a", "href", "(index\.php\?id=\d+)")+'< back') help = 'Index format: n (unpadded)' @@ -24,7 +24,7 @@ class ASofterWorld(_BasicScraper): class AbleAndBaker(_BasicScraper): latestUrl = 'http://www.jimburgessdesign.com/comics/index.php' - imageUrl = 'http://www.jimburgessdesign.com/comics/index.php?comic=%s' + stripUrl = 'http://www.jimburgessdesign.com/comics/index.php?comic=%s' imageSearch = compile(tagre('img', 'src', r'(comics/.+)')) prevSearch = compile(tagre('a', 'href', r'(.+\d+)') + '.+?previous.gif') help = 'Index format: nnn' @@ -32,7 +32,7 @@ class AbleAndBaker(_BasicScraper): class AbominableCharlesChristopher(_BasicScraper): latestUrl = 'http://abominable.cc/' - imageUrl = 'http://abominable.cc/%s' + stripUrl = 'http://abominable.cc/%s' imageSearch = compile(tagre("img", "src", r'(http://www\.abominable\.cc/comics/[^"]+)')) prevSearch = compile(tagre("a", "href", r'([^"]+)')+"[^<]+Previous") help = 'Index format: yyyy/mm/dd/comicname' @@ -40,7 +40,7 @@ class AbominableCharlesChristopher(_BasicScraper): class AbsurdNotions(_BasicScraper): latestUrl = 'http://www.absurdnotions.org/page129.html' - imageUrl = 'http://www.absurdnotions.org/page%s.html' + stripUrl = 'http://www.absurdnotions.org/page%s.html' imageSearch = compile(tagre('img', 'src', r'(an[^"]+)')) prevSearch = compile(tagre('a', 'href', r'([^"]+)') + tagre('img', 'src', 'nprev\.gif')) help = 'Index format: n (unpadded)' @@ -49,7 +49,7 @@ class AbsurdNotions(_BasicScraper): class AbstruseGoose(_BasicScraper): starter = bounceStarter('http://abstrusegoose.com/', compile(tagre('a', 'href', r'(http://abstrusegoose\.com/\d+)')+"Next »")) - imageUrl = 'http://abstrusegoose.com/c%s.html' + stripUrl = 'http://abstrusegoose.com/c%s.html' imageSearch = compile(tagre('img', 'src', r'(http://abstrusegoose\.com/strips/[^<>"]+)')) prevSearch = compile(tagre('a', 'href', r'(http://abstrusegoose\.com/\d+)') + r'« Previous') help = 'Index format: n (unpadded)' @@ -63,7 +63,7 @@ class AbstruseGoose(_BasicScraper): class AcademyVale(_BasicScraper): latestUrl = 'http://imagerie.com/vale/' - imageUrl = 'http://imagerie.com/vale/avarch.cgi?%s' + stripUrl = 'http://imagerie.com/vale/avarch.cgi?%s' imageSearch = compile(tagre('img', 'src', r'(avale\d{4}-\d{2}\.gif)')) prevSearch = compile(tagre('a', 'href', r'(avarch[^"]+)') + tagre('img', 'src', 'AVNavBack\.gif')) help = 'Index format: nnn' @@ -71,14 +71,14 @@ class AcademyVale(_BasicScraper): class Alice(_BasicScraper): latestUrl = 'http://alice.alicecomics.com/' - imageUrl = 'http://alice.alicecomics.com/wp-content/webcomic/alicecomics/%s.jpg' + stripUrl = 'http://alice.alicecomics.com/wp-content/webcomic/alicecomics/%s.jpg' imageSearch = compile(tagre("img", "src", r'(http://alice\.alicecomics\.com/wp-content/webcomic/alicecomics/[^"]+)')) prevSearch = compile(tagre("a", "href", r'(http://alice.alicecomics.com/archive/[^!]+)', after="previous")) help = 'Index format: yyyy-mm-dd' class AlienLovesPredator(_BasicScraper): - imageUrl = 'http://alienlovespredator.com/%s' + stripUrl = 'http://alienlovespredator.com/%s' imageSearch = compile(r']+>(
', MULTILINE) help = 'Index format: n (unpadded)' @@ -138,7 +138,7 @@ class AppleGeeks(_BasicScraper): class Achewood(_BasicScraper): latestUrl = 'http://www.achewood.com/' - imageUrl = 'http://www.achewood.com/index.php?date=%s' + stripUrl = 'http://www.achewood.com/index.php?date=%s' imageSearch = compile(tagre("img", "src", r'(/comic\.php\?date=\d+)')) prevSearch = compile(tagre("a", "href", r'(index\.php\?date=\d+)', after="Previous")) help = 'Index format: mmddyyyy' @@ -150,7 +150,7 @@ class AstronomyPOTD(_BasicScraper): starter = bounceStarter( 'http://antwrp.gsfc.nasa.gov/apod/astropix.html', compile(r'>')) - imageUrl = 'http://antwrp.gsfc.nasa.gov/apod/ap%s.html' + stripUrl = 'http://antwrp.gsfc.nasa.gov/apod/ap%s.html' imageSearch = compile(r'') prevSearch = compile(r'<') help = 'Index format: yymmdd' @@ -164,7 +164,7 @@ class AstronomyPOTD(_BasicScraper): class AfterStrife(_BasicScraper): latestUrl = 'http://afterstrife.com/?p=262' - imageUrl = 'http://afterstrife.com/?p=%s' + stripUrl = 'http://afterstrife.com/?p=%s' imageSearch = compile(r'") help = 'Index format: yyyy/mm/strip-name' @@ -182,7 +182,7 @@ class ALLCAPS(_BasicScraper): class ASkeweredParadise(_BasicScraper): latestUrl = 'http://aspcomics.net/' - imageUrl = 'http://aspcomics.net/archindex.php?strip_id=%s' + stripUrl = 'http://aspcomics.net/archindex.php?strip_id=%s' imageSearch = compile(tagre("img", "src", r'(http://aspcomics\.net/sites/default/files[^"]*/asp\d+\.jpg)[^"]+')) prevSearch = compile(tagre("a", "href", "(/comic/\d+)")+r"[^>]+Previous") help = 'Index format: nnn' @@ -192,7 +192,7 @@ class ASkeweredParadise(_BasicScraper): class AGirlAndHerFed(_BasicScraper): starter = bounceStarter('http://www.agirlandherfed.com/', compile(r'[^>]+Back')) - imageUrl = 'http://www.agirlandherfed.com/img/strip/%s' + stripUrl = 'http://www.agirlandherfed.com/img/strip/%s' imageSearch = compile(tagre("img", "src", r'(img/strip/[^"]+\.jpg)')) prevSearch = compile(r'[^>]+Back') help = 'Index format: nnn' @@ -205,7 +205,7 @@ class AGirlAndHerFed(_BasicScraper): class AetheriaEpics(_BasicScraper): latestUrl = 'http://aetheria-epics.schala.net/' - imageUrl = 'http://aetheria-epics.schala.net/%s.html' + stripUrl = 'http://aetheria-epics.schala.net/%s.html' imageSearch = compile(r'