Skip videos for WapsiSquare
This commit is contained in:
parent
bbe3d9f9be
commit
dfa412c03e
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ class WapsiSquare(_WPNaviIn):
|
|||
url = 'http://wapsisquare.com/'
|
||||
firstStripUrl = url + 'comic/09092001/'
|
||||
|
||||
def shouldSkipUrl(self, url, data):
|
||||
"""Skip pages without images."""
|
||||
return data.xpath('//iframe') # videos
|
||||
|
||||
|
||||
class WastedTalent(_BasicScraper):
|
||||
url = 'http://www.wastedtalent.ca/'
|
||||
|
|
Loading…
Reference in a new issue