PureDark

Results 30 comments of PureDark

Due to my not-so-elegant coding... there are a lot of strings in the codes besides those in the string.xml.. I do have plan to support other languages, but currentlly traslatating...

通过登录页面完成验证等所有过程,cookie会保存下来。

最近没空,年后找个时间集中更新一下所有站点的规则。

最近沉迷新游戏,没空管这应用233333 另外noGallery完全不需要啊,现在就可以不指定galleryRule,我记得没错的话tumblr就是这样,所有数据在index就能获取,所以只有indexRule

实机测试看log后发现在国内得到的cover本身就是完整地址 例如 http://s.cn.bing.net/az/hprichbg/rb/OcellatedTurkey_ROW10376571112_1920x1080.jpg 所以经过你的replacement后地址会变成 https://www.bing.comhttp://s.cn.bing.net/az/hprichbg/rb/OcellatedTurkey_ROW10376571112_1920x1080.jpg 就错了 估计是因为国内会自动采用CDN的地址,而herokuap因为在国外所以得到的html中直接用本地服务器的相对地址

另外我记得我在wiki里提到过,相对地址不用做处理,会自动判断并转化为完整地址的,你用regex来手动替换反而容易出错

有时不存在url和thumbnail时也可能有用处,所以不想取的item就像AcFun漫画那样用regex进行区分啊 比如 ```javascript "item": { "path": "$.img", "regex": "/" }, ``` 这样img是空的自然匹配不到`/`这个字符就不会取这个item 但是另一个需求可能比较难,因为jsonpath本身不像css选择器那样加个逗号就可以使用多个不同的选择器、 我看看之后版本能不能自己实现一下类似的功能吧 虽然其实按照我目前的写的规则解析器完善度,还是可以实现解析这个站点的、但是里面很多猫腻只有我自己知道2333 很难在教程里解释清楚我就没写上去 比如pictureRule只有thumbnail和url不提供item的话,是把selector或者path取到的内容当成字符串处理,然后根据regex得到所有匹配放在一个数组里,然后thumbnail和url得到的两个数组中序号相同的两个数据会拿来凑成一个Picture之类的2333 这个用法我似乎在bilibili画友中用到了 ```javascript "pictureRule": { "thumbnail": { "fun": "html", "regex": "s_url.*?drawyoo(.*?)\"", "replacement": "http://i0.hdslb.com/bfs/drawyoo$1", "selector":...

还有这个 https://github.com/no-fee-ethereum-mining/nsfminer nsfminer是ethminer的继承者,现在还在持续更新,都是无抽水的内核 ethminer很久没有官方release了

> How about releasing the source and mark it archived or deprecated or abandoned or unsupported? Isn't that what open source is suppose to be? Also the main reason people...