Prefer i.redd.it ID over post ID for reddit image host.

This commit is contained in:
DebaucheryLibrarian 2024-09-11 05:16:53 +02:00
parent b4b51fe23e
commit 2263d27df9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ function reddit(post) {
return Promise.resolve({
album: null,
items: [{
id: post.id,
id: post.host.id || post.id,
url: post.url,
title: post.title,
datetime: post.datetime,