Added Oh Joy Sex Toy.

This commit is contained in:
Peter B 2014-01-30 22:45:50 -05:00
parent add63d6d6c
commit d86442efed

12
dosagelib/plugins/o.py Normal file → Executable file
View file

@ -52,6 +52,18 @@ class Oglaf(_BasicScraper):
return cls.url
class OhJoySexToy(_BasicScraper):
url = 'http://www.ohjoysextoy.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % 'introduction'
imageSearch = compile(tagre("div", "class", r'comicpane') + "\s*.*\s*" + tagre("img", "src", r'(%scomics/[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, after='navi navi-prev'))
textSearch = compile(tagre("div", "class", r'comicpane') + "\s*.*\s*" + tagre("img", "alt", r'([^"]+)'))
help = 'Index Format: name'
adult = True
class OkCancel(_BasicScraper):
url = 'http://okcancel.com/'
rurl = escape(url)