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/' url = 'http://thedoghousediaries.com/'
rurl = escape(url) rurl = escape(url)
stripUrl = url + '%s' stripUrl = url + '%s'
firstStripUrl = stripUrl % '4827' firstStripUrl = stripUrl % '34'
prevSearch = compile(tagre("a", "href", r'(%s\d+)' % rurl, after="previous-comic")) prevSearch = compile(r"<a id='previouslink' href='(http://thedoghousediaries.com/\d+)'")
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl)) imageSearch = compile(r"<img src='(dhdcomics/\d{4}-\d{2}-\d{2}[^']+)'")
help = 'Index format: number' help = 'Index format: number'