From 6c9b58c56c6901496195d92f992fca11a80abcf2 Mon Sep 17 00:00:00 2001 From: marvinlehmann Date: Wed, 9 Sep 2020 00:07:58 +0200 Subject: [PATCH] Fixed AnimePahe --- ani-search-enhancer.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ani-search-enhancer.user.js b/ani-search-enhancer.user.js index 5f66435..dbf735e 100644 --- a/ani-search-enhancer.user.js +++ b/ani-search-enhancer.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name aniSearch Enhancer // @namespace http://git.nivram.io/marvinlehmann/ani-search-enhancer -// @version 1.81 +// @version 1.82 // @description Adds buttons to the info site of an anime on aniSearch which links you directly to various streaming portals. // @author Marvin Lehmann // @grant GM_xmlhttpRequest @@ -79,7 +79,7 @@ $(function () { onload: function (resp) { if (resp.response.total > 0) { const firstResult = resp.response.data[0]; - const targetPage = 'https://animepahe.com/anime/' + firstResult.slug; + const targetPage = 'https://animepahe.com/anime/' + firstResult.session; $stream_links.append(new Option("@ AnimePahe", targetPage)); // Did we possibly get the wrong one?