Skip to content

Commit

Permalink
source: parse name for Zerochan images
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Nov 5, 2022
1 parent 9bb77db commit a687ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sites/Zerochan/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const source: ISource = {
for (const image of data) {
const img: IImage = {
page_url: image["link"]["#text"],
name: image["title"]["#text"],
tags: image["media:keywords"]["#text"].trim().split(", "),
preview_url: image["media:thumbnail"]["#text"] || image["media:thumbnail"]["@attributes"]["url"],
file_url: image["media:content"]["#text"] || image["media:content"]["@attributes"]["url"],
Expand Down

0 comments on commit a687ad9

Please sign in to comment.