moved Footloose, added Cherry, Desigaspring
This commit is contained in:
parent
01aeebfbe4
commit
c1245a85ad
2 changed files with 17 additions and 8 deletions
dosagelib/plugins
|
@ -115,14 +115,6 @@ class FonFlatter(_BasicScraper):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class Footloose(_ParserScraper):
|
|
||||||
url = 'http://footloosecomic.com/footloose.php'
|
|
||||||
stripUrl = 'http://footloosecomic.com/footloose.php?comic_id=%s'
|
|
||||||
imageSearch = '//body/p[1]//img'
|
|
||||||
prevSearch = '//body/a[2]'
|
|
||||||
help = 'Index format: n (unpadded)'
|
|
||||||
|
|
||||||
|
|
||||||
class ForLackOfABetterComic(_BasicScraper):
|
class ForLackOfABetterComic(_BasicScraper):
|
||||||
url = 'http://forlackofabettercomic.com/'
|
url = 'http://forlackofabettercomic.com/'
|
||||||
rurl = r'http://(?:www\.)?forlackofabettercomic\.com/'
|
rurl = r'http://(?:www\.)?forlackofabettercomic\.com/'
|
||||||
|
|
17
dosagelib/plugins/footloosecomic.py
Normal file
17
dosagelib/plugins/footloosecomic.py
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from ..scraper import make_scraper, _ParserScraper
|
||||||
|
|
||||||
|
|
||||||
|
def add(name, url):
|
||||||
|
attrs = dict(
|
||||||
|
name=name,
|
||||||
|
url='http://footloosecomic.com/' + url,
|
||||||
|
imageSearch='//body/p[1]//img',
|
||||||
|
prevSearch='//body/a[2]'
|
||||||
|
)
|
||||||
|
globals()[name] = make_scraper(name, _ParserScraper, **attrs)
|
||||||
|
|
||||||
|
|
||||||
|
add('Cherry', 'cherry/index.php')
|
||||||
|
add('Desigaspring', 'dspring/index.php')
|
||||||
|
add('Footloose', 'footloose.php')
|
Loading…
Reference in a new issue