This commit is contained in:
href 2019-01-30 21:08:41 +01:00
commit 5ea0397e2d
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ defmodule Pleroma.Web.RichMedia.Parser do
defp parse_url(url) do
try do
{:ok, %Tesla.Env{body: html}} = Pleroma.HTTP.get(url, [], pool: :media)
{:ok, %Tesla.Env{body: html}} = Pleroma.HTTP.get(url, [], adapter: [pool: :media])
html |> maybe_parse() |> get_parsed_data()
rescue