Fixing DogHouseDiaries

This commit is contained in:
Manabi 2015-04-15 12:51:45 -04:00
parent 2b98a9023e
commit c0619e8dca

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/\d{4}-\d{2}-\d{2}[^']+)'")
help = 'Index format: number'