mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-28 06:17:46 +01:00
Update e621.ex
This commit is contained in:
parent
b4979740ed
commit
f90d07e637
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ defmodule Philomena.Scrapers.E621 do
|
|||
end
|
||||
|
||||
def scrape(_uri, url) do
|
||||
api_url = "#{url}.json&login=#{e621_user()}&api_key=#{e621_apikey()}"
|
||||
api_url = "#{url}.json?login=#{e621_user()}&api_key=#{e621_apikey()}"
|
||||
{:ok, %Tesla.Env{status: 200, body: body}} = Philomena.Http.get(api_url)
|
||||
|
||||
json = Jason.decode!(body)
|
||||
|
|
Loading…
Add table
Reference in a new issue