diff --git a/dosagelib/plugins/o.py b/dosagelib/plugins/o.py old mode 100644 new mode 100755 index 5f15d4581..eae186162 --- a/dosagelib/plugins/o.py +++ b/dosagelib/plugins/o.py @@ -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)