Skip videos for WapsiSquare

This commit is contained in:
Tobias Gruetzmacher 2020-09-30 21:17:46 +02:00
parent bbe3d9f9be
commit dfa412c03e

View file

@ -15,6 +15,10 @@ class WapsiSquare(_WPNaviIn):
url = 'http://wapsisquare.com/' url = 'http://wapsisquare.com/'
firstStripUrl = url + 'comic/09092001/' firstStripUrl = url + 'comic/09092001/'
def shouldSkipUrl(self, url, data):
"""Skip pages without images."""
return data.xpath('//iframe') # videos
class WastedTalent(_BasicScraper): class WastedTalent(_BasicScraper):
url = 'http://www.wastedtalent.ca/' url = 'http://www.wastedtalent.ca/'