Merged
Conversation
Closes #1221
Closes #1177
- 修复翻车的引用 - Closes #1230
修复某些 `description` 为 `undefined` 的问题
分類等功能都能直接透過更改 `params` 辦到,而它可以從 `https://store.steampowered.com/search/?specials=1&term=atelier` 這種 URL 取得 * [x] 热销商品 `/search/filter=topsellers` * [x] 优惠 `/search/special=1` * [x] 新品 `/steam/search/sort_by=Released_DESC` close #1018
修复翻车的 `content`
修改即刻 Feed,对两个新闻主题 [一觉醒来世界发生了什么](https://web.okjike.com/topic/553870e8e4b0cafb0a1bef68/official) 和 [今天网上都在热议什么](https://web.okjike.com/topic/55963702e4b0d84d2c30ce6f/official) 进行特殊处理: - 标题改为 `${主题名称} ${日期}` 如 `一觉醒来世界发生了什么 01月30日` - 为每个新闻添加源文链接 Reader 中效果如下:  
fix bug:去掉多余参数 而且存在部分网页正则匹配不上导致数组越界
对 ReadHub 下的不同分类做特定的处理: 1. [科技动态](https://readhub.cn/news)、[https://readhub.cn/tech](开发者咨询) 和 [区块链快讯](https://readhub.cn/blockchain):这三个分类没有细分内容,直接显示概要。 Reeder 下表现:  2. [热门话题](https://readhub.cn/topics) 和 [每日早报](https://readhub.cn/daily) 显示包括媒体报道、相关事件、事件追踪、原文链接在内的细分内容。Reeder 下表现如下: 
node_redis: Deprecated: The SETEX command contains a argument of type Promise. This is converted to "[object Promise]" by using .toString() now and will return an error from v.3.0 on. Please handle this in your code to make sure everything works as you intended it to.
添加对 [D2 资源库日报](https://awesome.fairyever.com/daily/) 的支持。 **注意**: 引入了一个新的依赖:[sanitize-html](https://www.npmjs.com/package/sanitize-html) 用于去除 HTML 中不需要的内容 ```javascript description = sanitizeHtml(description, { allowedTags: ['section', 'h2', 'ul', 'li', 'p', 'span', 'a'], }); ```
closes #664
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.