From 2a2ff2d54511155cb4553d84ac92a9f2d38e32dd Mon Sep 17 00:00:00 2001 From: Peter Janes Date: Fri, 6 Apr 2018 14:09:13 -0400 Subject: [PATCH] GoComics no longer has nav on the comic's home page. --- dosagelib/plugins/gocomics.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/gocomics.py b/dosagelib/plugins/gocomics.py index e13db54f3..c7e7f481d 100644 --- a/dosagelib/plugins/gocomics.py +++ b/dosagelib/plugins/gocomics.py @@ -6,7 +6,7 @@ from __future__ import absolute_import, division, print_function from ..scraper import _ParserScraper -from ..helpers import bounceStarter, xpath_class +from ..helpers import indirectStarter, xpath_class class GoComics(_ParserScraper): @@ -15,7 +15,8 @@ class GoComics(_ParserScraper): navSearch = '//div[{0}]//a[{1}]' prevSearch = navSearch.format(xpath_class('comic'), xpath_class('fa-caret-left')) nextSearch = navSearch.format(xpath_class('comic'), xpath_class('fa-caret-right')) - starter = bounceStarter + latestSearch = navSearch.format(xpath_class('gc-deck--cta-0'), xpath_class('')) + starter = indirectStarter help = 'Index format: yyyy/mm/dd' def __init__(self, name, path, lang=None):