From 0a7629612e4ee66096eca6818611d5c6a078ed35 Mon Sep 17 00:00:00 2001 From: Catta1997 <34333654+Catta1997@users.noreply.github.com> Date: Sun, 25 Apr 2021 20:14:24 +0200 Subject: [PATCH] Fix episode retrieval for AnimeUnity (#246) Removed Referer Header --- .../Anime Source/animeunity.it/AnimeUnity+Episode.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/NineAnimator/Models/Anime Source/animeunity.it/AnimeUnity+Episode.swift b/NineAnimator/Models/Anime Source/animeunity.it/AnimeUnity+Episode.swift index 42a6d3660..41b52c5aa 100644 --- a/NineAnimator/Models/Anime Source/animeunity.it/AnimeUnity+Episode.swift +++ b/NineAnimator/Models/Anime Source/animeunity.it/AnimeUnity+Episode.swift @@ -29,7 +29,12 @@ extension NASourceAnimeUnity { return Episode( link, target: videoUrl, - parent: anime + parent: anime, + userInfo: [ + DummyParser.Options.headers: [ + "Referer": "" + ] + ] ) } }