Switched thumbnail downloading to use yt-dlp (#281)

This commit is contained in:
Kieran
2024-06-04 10:39:54 -07:00
committed by GitHub
parent 4994e70652
commit af86ca1e0e
8 changed files with 98 additions and 122 deletions
@@ -9,6 +9,7 @@ defmodule Pinchflat.Downloading.MediaDownloadWorkerTest do
alias Pinchflat.Downloading.MediaDownloadWorker
setup do
stub(YtDlpRunnerMock, :run, fn _url, _opts, _ot -> {:ok, ""} end)
stub(UserScriptRunnerMock, :run, fn _event_type, _data -> :ok end)
stub(HTTPClientMock, :get, fn _url, _headers, _opts -> {:ok, ""} end)