Skip to content

Commit

Permalink
fix(route): douban status item link (DIYgod#17233)
Browse files Browse the repository at this point in the history
  • Loading branch information
haowenwu authored Oct 22, 2024
1 parent 69994a1 commit 5dbc993
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/routes/douban/people/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ function tryFixStatus(status) {
}
}

// 接口提供的URL最后有分享追踪器,要删去,否则路由无法工作
if (status.sharing_url) {
status.sharing_url = status.sharing_url.split('?')[0];
}

if (!result.isFixSuccess) {
status.sharing_url = 'https://www.douban.com?rsshub_failed=' + now.getTime().toString();
if (!status.create_time) {
Expand Down

0 comments on commit 5dbc993

Please sign in to comment.