GithubHelp home page GithubHelp logo

規則更新的問題。。 about h-viewer HOT 7 CLOSED

puredark avatar puredark commented on August 30, 2024
規則更新的問題。。

from h-viewer.

Comments (7)

PureDark avatar PureDark commented on August 30, 2024 1

@manhong2112 正好我自己也需要用到,就连夜赶制了一个测试工具出来部署到heroku上了,你试试
https://hviewer.herokuapp.com/index.html
https://hviewer.herokuapp.com/gallery.html
第一个是测试获取列表的,第二个是测试点开后获取详情的

第一个粘贴站点规则后只需要填入这个规则解析的页面URL,可以用不同地址来测试首页和各个分类、搜索页是否都能成功获取,,只会获取第一页作为测试

第二个是粘贴站点规则后,把第一个站点测试获取到的随便哪个item粘贴进去,就能测试获取这个item的详情,同样只会获取第一页

为了最快掌握用法你可以直接把我写好的一个站点的规则粘贴进去,然后粘贴首页地址(记得把page参数的位置改成数字),然后看看结果

from h-viewer.

PureDark avatar PureDark commented on August 30, 2024

我看现在编辑站点里的复制json分享和生成二维码分享则没什么人用……毕竟要面对面分享站点的情景几乎没有啊,看来我还是把那两个改成和添加站点界面一样的功能吧

from h-viewer.

PureDark avatar PureDark commented on August 30, 2024

已经可以用站内市场来更新了 ,这个issue就可以close 掉了吧

from h-viewer.

paletteOvO avatar paletteOvO commented on August 30, 2024

於是乎, 那兩個按鈕功能不變, 測試時還是得要新增一大堆XDDDD

from h-viewer.

PureDark avatar PureDark commented on August 30, 2024

啊,对,你是想写新站点啊,那用扫码的方式测试确实挺麻烦的
其实我是想写个网页版的测试工具,粘贴规则和填入测试网址,就能测试得出最终获取的数据、以此判断到底取没取到值

等等吧、

from h-viewer.

paletteOvO avatar paletteOvO commented on August 30, 2024

哇X。。一覺醒來,連測試工具都寫好了。。。我放學後去試試看吧。。。

from h-viewer.

paletteOvO avatar paletteOvO commented on August 30, 2024

稍微試了下, 好像沒顯示pictureThumbnail和pictureUrl?

好吧, 只是圖片需要js加載, 沒抓到而己...

抓到的地址是這樣的.....
http:\\/\\/i0.hdslb.com\\/bfs\\/drawyoo\\/6290f99448895a14b96dd2985cb8b8185d9c8118.jpg
然而測試出來的網址是這樣的...
http://h.bilibili.com/http:\\/\\/i0.hdslb.com\\/bfs\\/drawyoo\\/6290f99448895a14b96dd2985cb8b8185d9c8118.jpg
(眼神死...)

from h-viewer.

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.