pulling tags didn't work. undoing

This commit is contained in:
Chaska 2024-04-29 12:09:21 -05:00 committed by GitHub
parent b947079616
commit 6e4db6d81e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,8 +13,6 @@ defmodule Philomena.Scrapers.Inkbunny do
json = Jason.decode!(body)
[submission] = json["submissions"]
tags = submission["keywords"]["keyword_name"]
images = for x <- submission["files"] do
%{
url: "#{x["file_url_full"]}",
@ -24,7 +22,6 @@ defmodule Philomena.Scrapers.Inkbunny do
%{
source_url: url,
tags: tags,
author_name: submission["username"],
description: submission["description"],
images: images