diff --git a/dosagelib/plugins/y.py b/dosagelib/plugins/y.py index fed355fba..4f4eb9a8e 100644 --- a/dosagelib/plugins/y.py +++ b/dosagelib/plugins/y.py @@ -4,8 +4,20 @@ # Copyright (C) 2015-2016 Tobias Gruetzmacher from __future__ import absolute_import, division, print_function + +from ..scraper import _BasicScraper, _ParserScraper from .common import _WordPressScraper class YAFGC(_WordPressScraper): 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'