GoComics no longer has nav on the comic's home page.
This commit is contained in:
parent
1fe98d2f7f
commit
2a2ff2d545
1 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
from __future__ import absolute_import, division, print_function
|
from __future__ import absolute_import, division, print_function
|
||||||
|
|
||||||
from ..scraper import _ParserScraper
|
from ..scraper import _ParserScraper
|
||||||
from ..helpers import bounceStarter, xpath_class
|
from ..helpers import indirectStarter, xpath_class
|
||||||
|
|
||||||
|
|
||||||
class GoComics(_ParserScraper):
|
class GoComics(_ParserScraper):
|
||||||
|
@ -15,7 +15,8 @@ class GoComics(_ParserScraper):
|
||||||
navSearch = '//div[{0}]//a[{1}]'
|
navSearch = '//div[{0}]//a[{1}]'
|
||||||
prevSearch = navSearch.format(xpath_class('comic'), xpath_class('fa-caret-left'))
|
prevSearch = navSearch.format(xpath_class('comic'), xpath_class('fa-caret-left'))
|
||||||
nextSearch = navSearch.format(xpath_class('comic'), xpath_class('fa-caret-right'))
|
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'
|
help = 'Index format: yyyy/mm/dd'
|
||||||
|
|
||||||
def __init__(self, name, path, lang=None):
|
def __init__(self, name, path, lang=None):
|
||||||
|
|
Loading…
Reference in a new issue