Fix some comics.

This commit is contained in:
Bastian Kleineidam 2013-02-27 19:40:54 +01:00
parent c5bd1df133
commit d7daf67e08
6 changed files with 9 additions and 9 deletions

View file

@ -148,6 +148,7 @@ class AstronomyPOTD(_BasicScraper):
noImageUrls = set([
'http://antwrp.gsfc.nasa.gov/apod/ap130217.html', # video
'http://antwrp.gsfc.nasa.gov/apod/ap130218.html', # video
'http://antwrp.gsfc.nasa.gov/apod/ap130226.html', # video
])
prevSearch = compile(tagre("a", "href", r'(ap\d{6}\.html)') + "&lt;</a>")
help = 'Index format: yymmdd'

View file

@ -28,7 +28,7 @@ class EerieCuties(_BasicScraper):
class Eriadan(_BasicScraper):
url = 'http://www.shockdom.com/webcomics/eriadan/'
stripUrl = url + '%s'
imageSearch = compile(tagre("img", "src", r'(http://www\.shockdom\.com/webcomics/eriadan/files/[^"]+)', after='width="800"'))
imageSearch = compile(tagre("img", "src", r'(http://www\.shockdom\.com/webcomics/eriadan/files/[^"]+)', after='width="[68]00"'))
prevSearch = compile(tagre("a", "href", r'([^"]+)', after="prev"))
help = 'Index format: yyyy/mm/dd/nnn (unpadded)'

View file

@ -34,7 +34,7 @@ class JoeAndMonkey(_BasicScraper):
class JohnnyWander(_BasicScraper):
url = 'http://www.johnnywander.com/'
stripUrl = url + 'comics/%s'
imageSearch = compile(tagre("img", "src", r'(http://www\.johnnywander\.com/files/comics/\d+\.jpg)'))
imageSearch = compile(tagre("img", "src", r'(http://www\.johnnywander\.com/files/comics/[^"]+\.jpg)'))
prevSearch = compile(tagre("a", "href", r'(/comics/\d+)') + r'prev')
help = 'Index format: nnn'

View file

@ -46,7 +46,7 @@ class LittleGamers(_BasicScraper):
class LeastICouldDo(_BasicScraper):
url = 'http://leasticoulddo.com/'
url = 'http://www.leasticoulddo.com/'
stripUrl = url + 'comic/%s'
imageSearch = compile(tagre("img", "src", r'(http://cdn\.leasticoulddo\.com/wp-content/uploads/\d+/\d+/\d{8}\.\w{1,4})'))
prevSearch = compile(tagre("a", "href", r'(http://www\.leasticoulddo\.com/comic/\d+/)', after="Previous"))

View file

@ -46,7 +46,7 @@ class OnTheEdge(_BasicScraper):
class OneQuestion(_BasicScraper):
url = 'http://onequestioncomic.com/'
url = 'http://www.onequestioncomic.com/'
stripUrl = url + 'comic.php?strip_id=%s'
imageSearch = compile(tagre("img", "src", r'((?:\.\./)?istrip_files/strips/\d+\.jpg)'))
prevSearch = compile(tagre("a", "href", r'(comic\.php\?strip_id=\d+)') + tagre("img", "src", r'img/arrow_prev\.jpg'))

View file

@ -150,11 +150,10 @@ class SodiumEyes(_BasicScraper):
class Sorcery101(_BasicScraper):
baseUrl = 'http://www.sorcery101.net/'
url = baseUrl + 'sorcery-101/'
stripUrl = baseUrl + 'sorcery101/%s/'
imageSearch = compile(tagre("img", "src", r'(http://www\.sorcery101\.net/comics/sorcery101/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://www\.sorcery101\.net/sorcery101/[^"]+)', after="previous-comic-link"))
url = 'http://www.sorcery101.net/sorcery-101/'
stripUrl = url + '%s/'
imageSearch = compile(tagre("img", "src", r'(http://www\.sorcery101\.net/wp-content/uploads/\d+/\d+/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://www\.sorcery101\.net/sorcery-101/[^"]+)', after="previous-"))
help = 'Index format: stripname'