extension(aniplay): misc

This commit is contained in:
Swakshan
2025-01-14 23:18:28 +05:30
parent 1da48bbd5e
commit e5d584a974

View File

@@ -294,7 +294,7 @@ class DefaultExtension extends MProvider {
} else if (slug.indexOf("watch/") > -1) { } else if (slug.indexOf("watch/") > -1) {
next_action = '5dbcd21c7c276c4d15f8de29d9ef27aef5ea4a5e' next_action = '5dbcd21c7c276c4d15f8de29d9ef27aef5ea4a5e'
} }
var url = `${this.source.baseUrl}anime/${slug}` var url = `${this.source.baseUrl}/anime/${slug}`
var headers = { var headers = {
"referer": "https://aniplaynow.live", "referer": "https://aniplaynow.live",
'next-action': next_action, 'next-action': next_action,
@@ -353,7 +353,7 @@ class DefaultExtension extends MProvider {
var format = animeData.format var format = animeData.format
if(format === "MOVIE") chapters[0].name = "Movie" if(format === "MOVIE") chapters[0].name = "Movie"
animeData.link = `${this.source.baseUrl}anime/${slug}` animeData.link = `${this.source.baseUrl}/anime/${slug}`
animeData.chapters = chapters.reverse() animeData.chapters = chapters.reverse()
return animeData return animeData
} }