Merge pull request #6 from Manabi/master

Fixing DogHouseDiaries
This commit is contained in:
Manabi 2015-04-15 13:08:54 -04:00
commit f3abbaecb2

View file

@ -220,9 +220,9 @@ class DogHouseDiaries(_BasicScraper):
url = 'http://thedoghousediaries.com/'
rurl = escape(url)
stripUrl = url + '%s'
firstStripUrl = stripUrl % '4827'
prevSearch = compile(tagre("a", "href", r'(%s\d+)' % rurl, after="previous-comic"))
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl))
firstStripUrl = stripUrl % '34'
prevSearch = compile(r"<a id='previouslink' href='(http://thedoghousediaries.com/\d+)'")
imageSearch = compile(r"<img src='(dhdcomics/[^']+)'")
help = 'Index format: number'