fixed DarkWings (now available under the real name Eryl as well), added Ashes, Laiyu, NoMoreSavePoints and EasilyAmused

This commit is contained in:
Damjan Košir 2015-05-26 23:43:15 +12:00
parent 9adb020fc2
commit 5e123ae79e
2 changed files with 14 additions and 10 deletions

View file

@ -57,3 +57,17 @@ for (name, starterXPath) in [
('HijinksEnsuePhoto', '//h4[text()="Latest Fancy Photo Comic"]/..//a') ('HijinksEnsuePhoto', '//h4[text()="Latest Fancy Photo Comic"]/..//a')
]: ]:
add(name, 'http://hijinksensue.com/', starter=indirectStarter('http://hijinksensue.com/', starterXPath)) add(name, 'http://hijinksensue.com/', starter=indirectStarter('http://hijinksensue.com/', starterXPath))
# all comics on flowerlarkstudios
for (name, linkNumber) in [
('Ashes', 1),
('Eryl', 3),
# this is a duplicate as it was under this name in previous versions of dosage
('DarkWings', 3),
('Laiyu', 5),
('NoMoreSavePoints', 7),
('EasilyAmused', 9)
]:
add(name, 'http://www.flowerlarkstudios.com/',
starter=indirectStarter('http://www.flowerlarkstudios.com/',
'(//div[@id="sidebar-left"]//a)[' + str(linkNumber) + ']'))

View file

@ -69,16 +69,6 @@ class DangerouslyChloe(_BasicScraper):
help = 'Index format: name' help = 'Index format: name'
class DarkWings(_BasicScraper):
url = 'http://www.flowerlarkstudios.com/dark-wings/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2008/05/31/page-i'
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, after="navi-prev"))
help = 'Index format: yyyy/mm/dd/page-nn-mm'
class DarthsAndDroids(_BasicScraper): class DarthsAndDroids(_BasicScraper):
url = 'http://www.darthsanddroids.net/' url = 'http://www.darthsanddroids.net/'
stripUrl = url + 'episodes/%s.html' stripUrl = url + 'episodes/%s.html'