anitubeinua: Fix fucking ajax url
This commit is contained in:
parent
596ab11cd0
commit
472935c8e5
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 6
|
version = 7
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -108,7 +108,7 @@ class AnitubeinuaProvider : MainAPI() {
|
||||||
|
|
||||||
val ajax =
|
val ajax =
|
||||||
fromPlaylistAjax(
|
fromPlaylistAjax(
|
||||||
"$mainUrl/engine/ajax/playlists.php?news_id=$id&xfield=playlist&time=${Date().time}"
|
"$mainUrl/engine/ajax/playlists.php?news_id=$id&xfield=playlist&user_hash=d9bee853908a5776972e5d49f106d9df239d2ede"
|
||||||
)
|
)
|
||||||
|
|
||||||
if (!ajax.isNullOrEmpty()) { // Ajax list
|
if (!ajax.isNullOrEmpty()) { // Ajax list
|
||||||
|
@ -117,7 +117,7 @@ class AnitubeinuaProvider : MainAPI() {
|
||||||
.forEach { episodes -> // Group by name
|
.forEach { episodes -> // Group by name
|
||||||
episodes.value.forEach lit@{
|
episodes.value.forEach lit@{
|
||||||
// UFDub player, drop
|
// UFDub player, drop
|
||||||
if (it.name == "ПЛЕЙЛИСТ") return@lit
|
if (it.urls.url.contains("video.ufdub")) return@lit
|
||||||
|
|
||||||
if (it.urls.isDub) {
|
if (it.urls.isDub) {
|
||||||
dubEpisodes.add(
|
dubEpisodes.add(
|
||||||
|
|
Loading…
Reference in a new issue