Fixed FredoAndPidjin

This commit is contained in:
Bastian Kleineidam 2014-02-06 19:57:56 +01:00
parent 68ce2d082a
commit 73e1af7aba
2 changed files with 8 additions and 2 deletions

View file

@ -3,6 +3,9 @@ Dosage 2.13 (released xx.xx.2014)
Features:
- comics: Added OhJoySexToy, TheGentlemansArmchair.
Fixes:
- comics: Fixed FredoAndPidjin.
Dosage 2.12 (released 24.1.2014)

View file

@ -164,8 +164,11 @@ class FredoAndPidjin(_BasicScraper):
url = 'http://www.pidjin.net/'
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2006/02/19/goofy-monday'
help = 'Index format: yyyy/mm/dd/name'
imageSearch = compile(tagre('img', 'src', '(http://cdn\.pidjin\.net/wp-content/uploads/\d+/\d+/[^"]+\.[a-z]+)'))
help = 'Index format: yyyy/mm/dd/number-index'
imageSearch = (
compile(tagre('img', 'src', '(http://cdn\.pidjin\.net/wp-content/uploads/\d+/\d+/\d+[^"]+\.[a-z]+)')),
compile(tagre('img', 'src', '(http://cdn\.pidjin\.net/wp-content/uploads/old/[^"]+\.[a-z]+)')),
)
multipleImagesPerStrip = True
prevSearch = compile(tagre('a', 'href', '([^"]+)')+"Prev</a>")
starter = indirectStarter(url,