GithubHelp home page GithubHelp logo

Comments (5)

hect0x7 avatar hect0x7 commented on July 3, 2024
  1. 请贴上你的代码,即使你是debug时输入的,也请换成正常的代码,方便我们讨论
  2. 你有测试过更通用一点的域名吗?例如 18comic.vip jmcomic.me

from jmcomic-crawler-python.

Yunxi-awa avatar Yunxi-awa commented on July 3, 2024
  1. 请贴上你的代码,即使你是debug时输入的,也请换成正常的代码,方便我们讨论
  2. 你有测试过更通用一点的域名吗?例如 18comic.vip jmcomic.me

函数目的:获取最新album_id
调用代码:

jmclt = config.normal.DEFAULT_JMCOMIC_OPTION.new_jm_client()
total_aid = getLatestAid(jmclt)

问题函数:

def getLatestAid(jmclient):
    return int(next(next(jmclient.categories_filter_gen()).iter_id()))

经测试其他的域名没有问题, 但问题是被ban了😅

from jmcomic-crawler-python.

hect0x7 avatar hect0x7 commented on July 3, 2024

我试了下,应该是正则不适配的问题了。待优化 JmPageTool.pattern_html_category_album_info_list

from jmcomic-crawler-python.

Yunxi-awa avatar Yunxi-awa commented on July 3, 2024

我试了下,应该是正则不适配的问题了。待优化 JmPageTool.pattern_html_category_album_info_list

最近禁漫的网站布局有变动, 说实话用Xpath和css selector要好很多, 不过重构工作量太大了, 只能说要还技术债了😪

from jmcomic-crawler-python.

hect0x7 avatar hect0x7 commented on July 3, 2024

v2.5.6 已适配

from jmcomic-crawler-python.

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.