Add YouSayItFirst

This commit is contained in:
Techwolf 2019-06-22 00:16:21 -07:00 committed by Tobias Gruetzmacher
parent a5a868c2e7
commit 70223bd38f

View file

@ -4,8 +4,20 @@
# Copyright (C) 2015-2016 Tobias Gruetzmacher # Copyright (C) 2015-2016 Tobias Gruetzmacher
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..scraper import _BasicScraper, _ParserScraper
from .common import _WordPressScraper from .common import _WordPressScraper
class YAFGC(_WordPressScraper): class YAFGC(_WordPressScraper):
url = 'http://yafgc.net/' url = 'http://yafgc.net/'
class YouSayItFirst(_ParserScraper):
stripUrl = 'https://www.yousayitfirst.com/comics/index.php?date=%s'
url = stripUrl % '20130125'
firstStripUrl = stripUrl % '20040220'
imageSearch = '//a/img'
prevSearch = '//a[text()="Previous"]'
endOfLife = True
help = 'Index format: yyyymmdd'