Added Poorly Drawn lines replacing GoComic's version.
This commit is contained in:
parent
a023323736
commit
124cf99665
2 changed files with 12 additions and 1 deletions
2
dosagelib/plugins/gocomics.py
Normal file → Executable file
2
dosagelib/plugins/gocomics.py
Normal file → Executable file
|
@ -394,7 +394,7 @@ add('PlentyofPenguins', '/plenty-of-penguins')
|
||||||
add('Pluggers', '/pluggers')
|
add('Pluggers', '/pluggers')
|
||||||
add('PoliceLimit', '/policelimit')
|
add('PoliceLimit', '/policelimit')
|
||||||
add('PoochCafe', '/poochcafe')
|
add('PoochCafe', '/poochcafe')
|
||||||
add('PoorlyDrawnLines', '/poorly-drawn-lines')
|
#add('PoorlyDrawnLines', '/poorly-drawn-lines')
|
||||||
add('PreTeena', '/preteena')
|
add('PreTeena', '/preteena')
|
||||||
add('PricklyCity', '/pricklycity')
|
add('PricklyCity', '/pricklycity')
|
||||||
add('Putz', '/putz')
|
add('Putz', '/putz')
|
||||||
|
|
11
dosagelib/plugins/p.py
Normal file → Executable file
11
dosagelib/plugins/p.py
Normal file → Executable file
|
@ -195,6 +195,17 @@ class PokeyThePenguin(_BasicScraper):
|
||||||
return "%s/index%d.html" % (prefix, num)
|
return "%s/index%d.html" % (prefix, num)
|
||||||
|
|
||||||
|
|
||||||
|
class PoorlyDrawnLines(_BasicScraper):
|
||||||
|
url = 'http://poorlydrawnlines.com/comic/'
|
||||||
|
rurl = escape(url)
|
||||||
|
stripUrl = url + '%s'
|
||||||
|
firstStripUrl = stripUrl % 'campus-characters/'
|
||||||
|
imageSearch = compile(tagre("img", "src", r'(http://poorlydrawnlines\.com/wp-content/uploads/\d+/\d+/[^"]+)'))
|
||||||
|
prevSearch = compile(tagre("li", "class", r'previous') + tagre("a", "href", r'(%s[^"]+)' % rurl))
|
||||||
|
help = 'Index Format: name'
|
||||||
|
description = u'A thrice-weekly webcomic written and illustrated by Reza Farazmand. New comics every Monday, Wednesday, and Friday.'
|
||||||
|
|
||||||
|
|
||||||
class Precocious(_BasicScraper):
|
class Precocious(_BasicScraper):
|
||||||
url = 'http://www.precociouscomic.com/'
|
url = 'http://www.precociouscomic.com/'
|
||||||
starter = indirectStarter(url,
|
starter = indirectStarter(url,
|
||||||
|
|
Loading…
Reference in a new issue