Add YouSayItFirst
This commit is contained in:
parent
a5a868c2e7
commit
70223bd38f
1 changed files with 12 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue