2020-04-18 11:45:44 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
2022-06-06 10:08:32 +00:00
|
|
|
# Copyright (C) 2019-2022 Tobias Gruetzmacher
|
2020-01-13 06:34:05 +00:00
|
|
|
# Copyright (C) 2019-2020 Daniel Ring
|
2022-06-06 10:08:32 +00:00
|
|
|
from ..scraper import ParserScraper
|
2019-06-25 02:57:16 +00:00
|
|
|
|
|
|
|
|
2022-06-06 10:08:32 +00:00
|
|
|
class ProjectFuture(ParserScraper):
|
2019-06-25 02:57:16 +00:00
|
|
|
imageSearch = '//td[@class="tamid"]/img'
|
|
|
|
prevSearch = '//a[./img[@alt="Previous"]]'
|
|
|
|
|
|
|
|
def __init__(self, name, comic, first, last=None):
|
|
|
|
if name == 'ProjectFuture':
|
|
|
|
super(ProjectFuture, self).__init__(name)
|
|
|
|
else:
|
|
|
|
super(ProjectFuture, self).__init__('ProjectFuture/' + name)
|
|
|
|
|
|
|
|
self.url = 'http://www.projectfuturecomic.com/' + comic + '.php'
|
|
|
|
self.stripUrl = self.url + '?strip=%s'
|
|
|
|
self.firstStripUrl = self.stripUrl % first
|
|
|
|
|
|
|
|
if last:
|
|
|
|
self.url = self.stripUrl
|
|
|
|
self.endOfLife = True
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def getmodules(cls):
|
|
|
|
return (
|
|
|
|
cls('AWalkInTheWoods', 'simeon', '1', last='12'),
|
|
|
|
cls('BenjaminBuranAndTheArkOfUr', 'ben', '00', last='23'),
|
|
|
|
cls('BookOfTenets', 'tenets', '01', last='45'),
|
|
|
|
cls('CriticalMass', 'criticalmass', 'cover', last='26'),
|
|
|
|
cls('DarkLordRising', 'darklord', '01-00', last='10-10'),
|
2020-05-23 03:14:24 +00:00
|
|
|
cls('Emily', 'emily', '01-00'),
|
2019-06-25 02:57:16 +00:00
|
|
|
cls('FishingTrip', 'fishing', '01-00'),
|
|
|
|
cls('HeadsYouLose', 'heads', '00-01', last='07-12'),
|
2021-07-25 06:16:59 +00:00
|
|
|
cls('IPanther', 'panther', '00'),
|
2019-06-25 02:57:16 +00:00
|
|
|
cls('NiallsStory', 'niall', '00'),
|
2021-04-12 01:48:54 +00:00
|
|
|
cls('ProjectFuture', 'strip', '0', last='664'),
|
2019-06-25 02:57:16 +00:00
|
|
|
cls('RedValentine', 'redvalentine', '1', last='6'),
|
|
|
|
cls('ShortStories', 'shorts', '01-00'),
|
|
|
|
cls('StrangeBedfellows', 'bedfellows', '1', last='6'),
|
|
|
|
cls('TheAxemanCometh', 'axeman', '01-01', last='02-18'),
|
|
|
|
cls('ToCatchADemon', 'daxxon', '01-00', last='03-14'),
|
|
|
|
cls('TheDarkAngel', 'darkangel', 'cover', last='54'),
|
2022-07-17 08:04:31 +00:00
|
|
|
cls('TheBountyProject', 'bounty', '00-00'),
|
2019-06-25 02:57:16 +00:00
|
|
|
cls('TheEpsilonProject', 'epsilon', '00-01'),
|
|
|
|
cls('TheHarvest', 'harvest', '01-00'),
|
|
|
|
cls('TheSierraChronicles', 'sierra', '0', last='29'),
|
|
|
|
cls('TheTuppenyMan', 'tuppenny', '00', last='16'),
|
|
|
|
cls('TurningANewPage', 'azrael', '1', last='54'),
|
2021-04-12 01:49:02 +00:00
|
|
|
cls('Xerian', 'xerian', '01-00'),
|
2019-06-25 02:57:16 +00:00
|
|
|
)
|