Skip phdcomic video URL.
This commit is contained in:
parent
124163a420
commit
d98c2a52dd
1 changed files with 6 additions and 0 deletions
|
@ -120,6 +120,12 @@ class PHDComics(_BasicScraper):
|
||||||
tagre("img", "src", r'(?:comics/)?images/prev_button\.gif', quote=""))
|
tagre("img", "src", r'(?:comics/)?images/prev_button\.gif', quote=""))
|
||||||
help = 'Index format: number'
|
help = 'Index format: number'
|
||||||
|
|
||||||
|
def shouldSkipUrl(self, url):
|
||||||
|
"""Skip pages without images."""
|
||||||
|
return url in (
|
||||||
|
self.stripUrl % '1669', # video
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class PicPakDog(_BasicScraper):
|
class PicPakDog(_BasicScraper):
|
||||||
description = u'A comic by Kim Belding'
|
description = u'A comic by Kim Belding'
|
||||||
|
|
Loading…
Reference in a new issue