From 31309a26d2481c68d2f71ec5c45fcf11fab694d4 Mon Sep 17 00:00:00 2001 From: hkocharyan Date: Tue, 19 Nov 2019 23:56:54 +0400 Subject: [PATCH] fixed oglaf next and previous tags (#141) --- dosagelib/plugins/o.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/o.py b/dosagelib/plugins/o.py index c1e4e54d3..964a0d2f7 100644 --- a/dosagelib/plugins/o.py +++ b/dosagelib/plugins/o.py @@ -28,9 +28,9 @@ class Oglaf(_ParserScraper): stripUrl = url + '%s/' imageSearch = '//img[@id="strip"]' # search for "previous story" only - prevSearch = '//a[div[@id="pvs"]]' + prevSearch = '//link[@rel="prev"]' # search for "next page" - nextSearch = '//a[div[@id="nx"]]' + nextSearch = '//link[@rel="next"]' multipleImagesPerStrip = True adult = True