Opportunity

Results 95 comments of Opportunity

In [markdown-it-anchor](https://github.com/valeriangalliat/markdown-it-anchor#usage), such option named `slugify`.

画廊是只读的啊,除了tag和评论,剩下的一经发布就不会更改了。

你难道没注意更新以后gid和gtoken都变了? 这是上次更新前的版本 https://exhentai.org/g/1463248/edddccd3df/ 这是新的 https://exhentai.org/g/1467581/c0c675128d/ ![图片](https://user-images.githubusercontent.com/13471233/63637171-f98d3900-c6ab-11e9-85f3-f5afeb99b4ab.png) 除了parent信息把他们链接起来,共享同一个标签和评论数据以外,这就是两个画廊。

图片本身的话,以 https://exhentai.org/s/7963e54fba/1467581-1 为例,地址格式是`s/{imagekey}/{gid}-{pid}`。 gid是画廊的id,pid是页数,imagekey是图片**原图**的SHA-1前10位,完整的SHA-1可以解析这个页面底部的“Show all galleries with this file”链接得到,或者把原图下下来以后自己算。 ![图片](https://user-images.githubusercontent.com/13471233/63637214-ae275a80-c6ac-11e9-90b6-e64f34ef91fe.png)

这个SHA-1就是e站数据库管理图片的唯一依据,虽然之前SHA-1的碰撞也有一些研究成果了,不过应该不会改SHA-256了。 https://ehwiki.org/wiki/Never_To_Be_Added

我开发的应用现在是摊平处理,所有图片以SHA-1为文件名存储,画廊信息在数据库里。 载入的时候先看一下本地有没有相同SHA-1的文件,没有再进行下载。 导出的时候再把需要的文件复制出来并重命名。 ![图片](https://user-images.githubusercontent.com/13471233/63637403-4c67f000-c6ae-11e9-92d0-d563db5a37d9.png)

附上我现在做的修正 ```ts import { View, EdgeView } from '@antv/x6'; // WORKAROUND: 修复获取 EventTarget View.prototype.getEventTarget = function getEventTarget( e: JQuery.TriggeredEvent, options: { fromPoint?: boolean } = {}, ): unknown { //...

在这两个搞出独立tag之前没必要改吧。。 埃尔夫啥的太离谱了

@lionnexx1986 Agreed, dark theme is not night mode, should not apply dark mask on images. ![image](https://user-images.githubusercontent.com/13471233/40287430-dbd16080-5cdf-11e8-941c-060cbbe9e2d2.png) And the mask has different size with the cover image, is that a feature?...