Giter Club home page Giter Club logo

Comments (6)

wapscccs avatar wapscccs commented on May 22, 2024

类似下面的书源无法导入,提示必须是json格式

{
    "bookSourceComment": "搜索用的是百度站内搜索",
    "bookSourceGroup": "🎉 精品,百度搜",
    "bookSourceName": "🎉 落秋中文网📱",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/h.lqbook.com",
    "bookUrlPattern": "",
    "concurrentRate": "",
    "customOrder": -88897993,
    "enabled": true,
    "enabledExplore": true,
    "exploreUrl": "完本::\/full\/{{page}}.html\n玄幻::\/list\/1_{{page}}.html\n修真::\/list\/2_{{page}}.html\n都市::\/list\/3_{{page}}.html\n历史::\/list\/4_{{page}}.html\n网游::\/list\/5_{{page}}.html\n科幻::\/list\/6_{{page}}.html",
    "header": "{\n  \"User-Agent\": \"Mozilla\/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build\/OPD1.170816.004) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/85.0.4183.121 Mobile Safari\/537.36 Edg\/85.0.564.68\"\n}",
    "lastUpdateTime": 1640061329341,
    "loginCheckJs": "",
    "loginUi": "",
    "loginUrl": "",
    "respondTime": 6036,
    "ruleBookInfo": {
        "author": "[email protected]@text",
        "coverUrl": ".bookinfo@img@src",
        "intro": ".intro@text",
        "kind": "[email protected]@text&&[email protected]@text&&[email protected]@text##状态:|更新:|\\s.*",
        "lastChapter": "[email protected]@text",
        "name": "class.info@h1@text##\\\/.*",
        "tocUrl": "text.章节目录@href||.more@href"
    },
    "ruleContent": {
        "content": "id.nr1@all",
        "nextContentUrl": "text.下一页@href",
        "replaceRegex": "##落秋中文.*|最新章节!|... -->>|本章未完,点击下一页继续阅读"
    },
    "ruleExplore": {
        "author": ".mr15@text",
        "bookList": ".list-item",
        "bookUrl": "a.0@href",
        "coverUrl": "img@src",
        "intro": ".article@a@span@text",
        "name": "[email protected]@text"
    },
    "ruleSearch": {
        "author": "",
        "bookList": "#results .c-result",
        "bookUrl": "data-log\n@js:\n\/\/java.log(result);\njson=eval(\"(\"+result+\")\");\njson.mu.replace(\/www\/g,\"h\");",
        "coverUrl": "",
        "intro": "div[role=\"text\"]@span.1@text",
        "kind": "",
        "lastChapter": ".c-text-line-text.0@text",
        "name": ".c-title-text@text##最新章节.*"
    },
    "ruleToc": {
        "chapterList": ".even@a",
        "chapterName": "text",
        "chapterUrl": "href",
        "nextTocUrl": "text.下一页@href"
    },
    "searchUrl": "https:\/\/m.baidu.com\/s?wd=site:lqbook.com {{key}},{\"webView\":true}",
    "weight": 0
}

from reader.

hectorqin avatar hectorqin commented on May 22, 2024

我这边测试使用demo服务添加这个书源是正常的哦,有没有错误截图?

from reader.

wapscccs avatar wapscccs commented on May 22, 2024

我这个截图测试使用demo服务添加这个书源是正常的哦,有没有错误?

非常抱歉,我发现了问题,是导入书源时全选复制删除默认的内容的时候最后有个花括号没有被复制上,导致删除时没有删除到

from reader.

wapscccs avatar wapscccs commented on May 22, 2024

是否可以完善下API文档呢?我想将他用在API接口上

from reader.

hectorqin avatar hectorqin commented on May 22, 2024

暂时没有时间,欢迎pr

from reader.

EasierLu avatar EasierLu commented on May 22, 2024

@hectorqin 请问 接口服务配置 具体是在哪个文件进行配置呢?

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.