2013-01-23 18:34:11 +00:00
|
|
|
# -*- coding: iso-8859-1 -*-
|
|
|
|
# Copyright (C) 2013 Bastian Kleineidam
|
|
|
|
"""
|
|
|
|
Arcamax comic strips
|
|
|
|
"""
|
|
|
|
from re import compile
|
|
|
|
from ..scraper import make_scraper
|
|
|
|
from ..util import tagre
|
|
|
|
|
|
|
|
|
|
|
|
_imageSearch = compile(tagre("a", "href", r'(/newspics/[^"]+)', after='zoom'))
|
|
|
|
_prevSearch = compile(tagre("a", "href", r'(/[^"]+)', before='prev'))
|
|
|
|
|
|
|
|
def add(name, shortname):
|
2013-02-04 20:00:26 +00:00
|
|
|
url = 'http://www.arcamax.com%s' % shortname
|
2013-01-23 18:34:11 +00:00
|
|
|
classname = 'Arcamax_%s' % name
|
|
|
|
|
|
|
|
globals()[classname] = make_scraper(classname,
|
|
|
|
name='Arcamax/' + name,
|
2013-02-04 20:00:26 +00:00
|
|
|
url = url,
|
2013-02-05 18:51:55 +00:00
|
|
|
stripUrl = url + '%s',
|
2013-01-23 18:34:11 +00:00
|
|
|
imageSearch = _imageSearch,
|
|
|
|
prevSearch = _prevSearch,
|
|
|
|
help = 'Index format: none',
|
|
|
|
)
|
|
|
|
|
|
|
|
# do not edit anything below since these entries are generated from scripts/update.sh
|
|
|
|
# DO NOT REMOVE
|
|
|
|
#add('9ChickweedLane', '/thefunnies/ninechickweedlane/')
|
|
|
|
#add('Agnes', '/thefunnies/agnes/')
|
|
|
|
#add('AndyCapp', '/thefunnies/andycapp/')
|
2013-11-18 21:01:30 +00:00
|
|
|
add('Archie', '/thefunnies/archie/')
|
2013-01-23 18:34:11 +00:00
|
|
|
add('ArcticCircle', '/thefunnies/arcticcircle/')
|
|
|
|
#add('AskShagg', '/thefunnies/askshagg/')
|
|
|
|
#add('BC', '/thefunnies/bc/')
|
|
|
|
add('BabyBlues', '/thefunnies/babyblues/')
|
|
|
|
#add('BallardStreet', '/thefunnies/ballardstreet/')
|
|
|
|
#add('BarneyAndClyde', '/thefunnies/barneyandclyde/')
|
|
|
|
add('BarneyGoogleAndSnuffySmith', '/thefunnies/barneygoogle/')
|
|
|
|
add('BeetleBailey', '/thefunnies/beetlebailey/')
|
|
|
|
add('Bizarro', '/thefunnies/bizarro/')
|
|
|
|
add('BleekerTheRechargeableDog', '/thefunnies/bleekertherechargeabledog/')
|
|
|
|
add('Blondie', '/thefunnies/blondie/')
|
|
|
|
add('Boondocks', '/thefunnies/boondocks/')
|
|
|
|
add('BrilliantMindofEdisonLee', '/thefunnies/brilliantmindofedisonlee/')
|
2013-01-28 05:53:12 +00:00
|
|
|
#add('CafConLeche', '/thefunnies/cafeconleche/')
|
2013-01-23 18:34:11 +00:00
|
|
|
#add('Candorville', '/thefunnies/candorville/')
|
|
|
|
#add('Cathy', '/thefunnies/cathy/')
|
|
|
|
#add('ChuckleBros', '/thefunnies/chucklebros/')
|
|
|
|
add('Crankshaft', '/thefunnies/crankshaft/')
|
|
|
|
#add('CuldeSac', '/thefunnies/culdesac/')
|
|
|
|
add('Curtis', '/thefunnies/curtis/')
|
|
|
|
#add('DaddysHome', '/thefunnies/daddyshome/')
|
|
|
|
add('DeFlocked', '/thefunnies/deflocked/')
|
|
|
|
add('DennistheMenace', '/thefunnies/dennisthemenace/')
|
|
|
|
#add('DiamondLil', '/thefunnies/diamondlil/')
|
2013-03-26 19:02:13 +00:00
|
|
|
#add('Dilbert', '/thefunnies/dilbert/')
|
2013-01-23 18:34:11 +00:00
|
|
|
add('DinetteSet', '/thefunnies/thedinetteset/')
|
|
|
|
#add('DogEatDoug', '/thefunnies/dogeatdoug/')
|
|
|
|
#add('DogsofCKennel', '/thefunnies/dogsofckennel/')
|
|
|
|
#add('Doonesbury', '/thefunnies/doonesbury/')
|
|
|
|
add('Dustin', '/thefunnies/dustin/')
|
|
|
|
add('FamilyCircus', '/thefunnies/familycircus/')
|
|
|
|
#add('FloAndFriends', '/thefunnies/floandfriends/')
|
|
|
|
#add('ForHeavensSake', '/thefunnies/forheavenssake/')
|
|
|
|
#add('FortKnox', '/thefunnies/fortknox/')
|
|
|
|
#add('FreeRange', '/thefunnies/freerange/')
|
|
|
|
#add('Garfield', '/thefunnies/garfield/')
|
|
|
|
#add('GetFuzzy', '/thefunnies/getfuzzy/')
|
|
|
|
#add('Heathcliff', '/thefunnies/heathcliff/')
|
|
|
|
#add('HerbandJamaal', '/thefunnies/herbandjamaal/')
|
|
|
|
add('HiandLois', '/thefunnies/hiandlois/')
|
|
|
|
#add('HomeAndAway', '/thefunnies/homeandaway/')
|
|
|
|
add('JerryKingCartoons', '/thefunnies/humorcartoon/')
|
|
|
|
#add('LittleDogLost', '/thefunnies/littledoglost/')
|
|
|
|
#add('Luann', '/thefunnies/luann/')
|
|
|
|
add('MallardFillmore', '/thefunnies/mallardfillmore/')
|
|
|
|
add('Marvin', '/thefunnies/marvin/')
|
|
|
|
add('MeaningofLila', '/thefunnies/meaningoflila/')
|
|
|
|
#add('Momma', '/thefunnies/momma/')
|
|
|
|
add('MotherGooseAndGrimm', '/thefunnies/mothergooseandgrimm/')
|
|
|
|
add('Mutts', '/thefunnies/mutts/')
|
|
|
|
#add('NestHeads', '/thefunnies/nestheads/')
|
|
|
|
#add('NonSequitur', '/thefunnies/nonsequitur/')
|
|
|
|
#add('OnaClaireDay', '/thefunnies/onaclaireday/')
|
|
|
|
#add('OneBigHappy', '/thefunnies/onebighappy/')
|
|
|
|
#add('Peanuts', '/thefunnies/peanuts/')
|
|
|
|
#add('PearlsBeforeSwine', '/thefunnies/pearlsbeforeswine/')
|
|
|
|
#add('Pickles', '/thefunnies/pickles/')
|
|
|
|
#add('RedandRover', '/thefunnies/redandrover/')
|
|
|
|
#add('ReplyAll', '/thefunnies/replyall/')
|
|
|
|
add('RhymeswithOrange', '/thefunnies/rhymeswithorange/')
|
|
|
|
#add('Rubes', '/thefunnies/rubes/')
|
2013-11-18 21:01:30 +00:00
|
|
|
add('Rugrats', '/thefunnies/rugrats/')
|
2013-01-23 18:34:11 +00:00
|
|
|
#add('ScaryGary', '/thefunnies/scarygary/')
|
|
|
|
#add('SpeedBump', '/thefunnies/speedbump/')
|
|
|
|
#add('StrangeBrew', '/thefunnies/strangebrew/')
|
2013-05-22 05:19:16 +00:00
|
|
|
add('TakeItFromTheTinkersons', '/thefunnies/takeitfromthetinkersons/')
|
2013-01-23 18:34:11 +00:00
|
|
|
#add('TheBarn', '/thefunnies/thebarn/')
|
|
|
|
add('TheLockhorns', '/thefunnies/thelockhorns/')
|
|
|
|
#add('TheOtherCoast', '/thefunnies/theothercoast/')
|
|
|
|
#add('ThinLines', '/thefunnies/thinlines/')
|
|
|
|
add('TinasGroove', '/thefunnies/tinasgroove/')
|
|
|
|
#add('WatchYourHead', '/thefunnies/watchyourhead/')
|
|
|
|
#add('WeePals', '/thefunnies/weepals/')
|
|
|
|
#add('WizardofId', '/thefunnies/wizardofid/')
|
|
|
|
#add('WorkingitOut', '/thefunnies/workingitout/')
|
2013-11-07 06:28:47 +00:00
|
|
|
#add('Wumo', '/thefunnies/wumo/')
|
2013-01-23 18:34:11 +00:00
|
|
|
#add('ZackHill', '/thefunnies/zackhill/')
|
|
|
|
add('Zits', '/thefunnies/zits/')
|