Giter Site home page Giter Site logo

Comments (3)

binbyu avatar binbyu commented on July 30, 2024

应该是chrome自动获取的xpath有问题,chrome的html排版过,所以与html源码有可能稍微不同。
遇到这种情况需要根据html源码,手动写下xpath。
如下:

{
"title": "新平凡",
"host": "http://www.xsbook.cc",
"query_url": "http://www.xsbook.cc/drfhdrfhdrfhdfhredh.php?ie=gbk&q=%s",
"query_method": 0,
"query_params": "action=search&q=%s",
"query_charset": 2,
"book_name_xpath": "//div[@Class='bookinfo']/h4/a",
"book_mainpage_xpath": "//div[@Class='bookinfo']/h4/a/@href",
"book_author_xpath": "//div[@Class='author']",
"enable_chapter_page": 0,
"chapter_page_xpath": "",
"chapter_title_xpath": "//div[@Class='listmain']/dl/dd/a",
"chapter_url_xpath": "//div[@Class='listmain']/dl/dd/a/@href",
"enable_chapter_next": 0,
"chapter_next_url_xpath": "",
"chapter_next_keyword_xpath": "",
"chapter_next_keyword": "",
"content_xpath": "//*[@id='content']",
"enable_content_next": 0,
"content_next_url_xpath": "",
"content_next_keyword_xpath": "",
"content_next_keyword": "",
"content_filter_type": 0,
"content_filter_keyword": ""
}

from reader.

adadad11 avatar adadad11 commented on July 30, 2024

这个我导入,为什么不能用啊

from reader.

XXX-BOX avatar XXX-BOX commented on July 30, 2024

这个我导入,为什么不能用啊

因为我也不能用,一直就没整明白要咋配,呜呜呜

from reader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.