mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-28 06:17:46 +01:00
Update baraag.ex
This commit is contained in:
parent
aa322c103d
commit
e7c54e5c01
1 changed files with 1 additions and 2 deletions
|
@ -11,8 +11,7 @@ defmodule Philomena.Scrapers.Baraag do
|
|||
api_url = "https://baraag.net/api/v1/statuses/#{status_id}"
|
||||
{:ok, %Tesla.Env{status: 200, body: body}} = Philomena.Http.get(api_url)
|
||||
|
||||
json = Jason.decode!(body)
|
||||
toot = json
|
||||
toot = Jason.decode!(body)
|
||||
|
||||
images =
|
||||
Enum.map(toot["media_attachments"], fn p ->
|
||||
|
|
Loading…
Add table
Reference in a new issue