From 78ac7144b227eedd4d34d732c455084433889a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20H=C3=B8gh?= Date: Wed, 26 Jun 2019 23:22:45 +0200 Subject: [PATCH] Fix Girls with Slingshots matchers (#136) Domain name and URLs have changed slightly. Fixes #105. --- dosagelib/plugins/g.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/g.py b/dosagelib/plugins/g.py index 37bbd22f8..b2abb9a34 100644 --- a/dosagelib/plugins/g.py +++ b/dosagelib/plugins/g.py @@ -83,7 +83,7 @@ class GirlGenius(_BasicScraper): class GirlsWithSlingshots(_BasicScraper): - url = 'http://www.girlswithslingshots.com/' + url = 'https://girlswithslingshots.com/' rurl = escape(url) stripUrl = url + 'comic/%s' firstStripUrl = stripUrl % 'gws1' @@ -93,7 +93,7 @@ class GirlsWithSlingshots(_BasicScraper): r'(http://cdn\.girlswithslingshots\.com/comics/[^"]+)')), ) prevSearch = compile(tagre("a", "href", r'(%scomic/[^"]+)' % rurl, - after="prev")) + before='rel="prev"')) help = 'Index format: stripname'