dosage/dosagelib/plugins/y.py

24 lines
697 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2016-10-28 22:21:41 +00:00
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
2014-01-05 15:50:57 +00:00
# Copyright (C) 2012-2014 Bastian Kleineidam
2019-11-03 23:16:25 +00:00
# Copyright (C) 2015-2019 Tobias Gruetzmacher
2012-11-21 20:57:26 +00:00
from __future__ import absolute_import, division, print_function
2019-06-22 07:16:21 +00:00
2019-11-03 23:16:25 +00:00
from ..scraper import _ParserScraper
from .common import _WordPressScraper
class YAFGC(_WordPressScraper):
url = 'http://yafgc.net/'
2019-06-22 07:16:21 +00:00
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'