Giter Site home page Giter Site logo

取得大範圍文章會卡住 about pyptt HOT 7 CLOSED

pyptt avatar pyptt commented on June 5, 2024
取得大範圍文章會卡住

from pyptt.

Comments (7)

bigtongue5566 avatar bigtongue5566 commented on June 5, 2024 1

解掉了。

原因是我用來判斷文章結束的標的是
PostEnd = [ '瀏覽', '頁 (100%)', '回應' ]

但這篇文章結尾,不知道為什麼沒有"回應",改成偵測離開後就可以跑完所有測試案例了

image

此解法將會在 0.8.13 更新

後來仔細看了一下好像是頁數超過100頁造成回應會被省略掉
下面是例子:
瀏覽 第 103/103 頁 (100%) 目前顯示: 第 2232~2254 行 (h)說明 (←/q)離開
瀏覽 第 54/54 頁 (100%) 目前顯示: 第 1166~1188 行 (y)回應(X/%)推文 (←)離開

from pyptt.

Truth1987 avatar Truth1987 commented on June 5, 2024

好,我看一下情況

from pyptt.

Truth1987 avatar Truth1987 commented on June 5, 2024

解掉了。

原因是我用來判斷文章結束的標的是
PostEnd = [ '瀏覽', '頁 (100%)', '回應' ]

但這篇文章結尾,不知道為什麼沒有"回應",改成偵測離開後就可以跑完所有測試案例了

image

此解法將會在 0.8.13 更新

from pyptt.

Truth1987 avatar Truth1987 commented on June 5, 2024

更新囉!試試看

from pyptt.

bigtongue5566 avatar bigtongue5566 commented on June 5, 2024

有試過沒有問題了 謝謝大大

from pyptt.

Truth1987 avatar Truth1987 commented on June 5, 2024

👍

from pyptt.

Truth1987 avatar Truth1987 commented on June 5, 2024

原來是這樣子,一開始開發真的很難測到這個 XDD
感謝你的回覆:D

from pyptt.

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.