Merge branch 'master' of github.com:wummel/dosage
This commit is contained in:
commit
bc0bba601c
2 changed files with 24 additions and 0 deletions
12
dosagelib/plugins/o.py
Normal file → Executable file
12
dosagelib/plugins/o.py
Normal file → Executable file
|
@ -52,6 +52,18 @@ class Oglaf(_BasicScraper):
|
||||||
return cls.url
|
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):
|
class OkCancel(_BasicScraper):
|
||||||
url = 'http://okcancel.com/'
|
url = 'http://okcancel.com/'
|
||||||
rurl = escape(url)
|
rurl = escape(url)
|
||||||
|
|
12
dosagelib/plugins/t.py
Normal file → Executable file
12
dosagelib/plugins/t.py
Normal file → Executable file
|
@ -59,6 +59,18 @@ class TheGamerCat(_BasicScraper):
|
||||||
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/[^"/]+/)' % rurl , after="navi navi-prev"))
|
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/[^"/]+/)' % rurl , after="navi navi-prev"))
|
||||||
help = 'Index format: yyyy/mm/mmddyyyy'
|
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'<h3 class="comic-post-widget-title">(.+)</h3>')
|
||||||
|
help = 'Index Format: name'
|
||||||
|
|
||||||
|
|
||||||
class TheNoob(_BasicScraper):
|
class TheNoob(_BasicScraper):
|
||||||
url = 'http://www.thenoobcomic.com/index.php'
|
url = 'http://www.thenoobcomic.com/index.php'
|
||||||
stripUrl = url + '?pos=%s'
|
stripUrl = url + '?pos=%s'
|
||||||
|
|
Loading…
Reference in a new issue