mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-28 06:17:46 +01:00
Adding title parsing <3
This commit is contained in:
parent
f88a78f06e
commit
ccf5dc0bf2
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ defmodule Philomena.Scrapers.Pixiv do
|
|||
json = Jason.decode!(body)
|
||||
submission = json["body"]
|
||||
|
||||
description = submission["illust_details"]["comment"]
|
||||
description =
|
||||
"##\s#{submission["illust_details"]["title"]}\n#{submission["illust_details"]["comment"]}"
|
||||
|
||||
images =
|
||||
if submission["illust_details"]["manga_a"] do
|
||||
|
|
Loading…
Add table
Reference in a new issue