Fixed AnimePahe
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user