From add63d6d6c3fd0cf501306760126ab8b772266f0 Mon Sep 17 00:00:00 2001 From: Peter B Date: Thu, 30 Jan 2014 22:32:07 -0500 Subject: [PATCH 1/2] Added The Gentleman's Armchair Comic. --- dosagelib/plugins/t.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) mode change 100644 => 100755 dosagelib/plugins/t.py diff --git a/dosagelib/plugins/t.py b/dosagelib/plugins/t.py old mode 100644 new mode 100755 index 297d5f6c6..4575bee03 --- a/dosagelib/plugins/t.py +++ b/dosagelib/plugins/t.py @@ -59,6 +59,18 @@ class TheGamerCat(_BasicScraper): prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/[^"/]+/)' % rurl , after="navi navi-prev")) help = 'Index format: yyyy/mm/mmddyyyy' + +class TheGentlemansArmchair(_BasicScraper): + url = 'http://thegentlemansarmchair.com/' + rurl = escape(url) + stripUrl = url + 'comic/%s' + firstStripUrl = stripUrl % 'dora-the-explorer/' + imageSearch = compile(tagre("div", "id", r'comic') + "\s*.*\s*" + tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/[^"]+)' % rurl)) + prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, after='navi-prev')) + textSearch = compile(r'

(.+)

') + help = 'Index Format: name' + + class TheNoob(_BasicScraper): url = 'http://www.thenoobcomic.com/index.php' stripUrl = url + '?pos=%s' From d86442efedfe4135355d4e3b0603ee801abe3a95 Mon Sep 17 00:00:00 2001 From: Peter B Date: Thu, 30 Jan 2014 22:45:50 -0500 Subject: [PATCH 2/2] Added Oh Joy Sex Toy. --- dosagelib/plugins/o.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) mode change 100644 => 100755 dosagelib/plugins/o.py 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)