From 2e33247878ab7e59443001d1f795f60aa7e3795a Mon Sep 17 00:00:00 2001 From: kodjomoustapha <107993382+kodjodevf@users.noreply.github.com> Date: Wed, 2 Aug 2023 23:45:18 +0100 Subject: [PATCH] update anime_index --- anime/src/en/wcostream/source.dart | 4 ++-- .../{wcostream-v0.0.11.dart => wcostream-v0.0.1.dart} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename anime/src/en/wcostream/{wcostream-v0.0.11.dart => wcostream-v0.0.1.dart} (98%) diff --git a/anime/src/en/wcostream/source.dart b/anime/src/en/wcostream/source.dart index 1e0ecfd4..9b8dcee9 100644 --- a/anime/src/en/wcostream/source.dart +++ b/anime/src/en/wcostream/source.dart @@ -1,9 +1,9 @@ import '../../../../model/source.dart'; Source get wcostreamSource => _wcostreamSource; -const wcostreamVersion = "0.0.11"; +const wcostreamVersion = "0.0.1"; const wcostreamSourceCodeUrl = - "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/anime/src/fr/wcostream/wcostream-v$wcostreamVersion.dart"; + "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/anime/src/en/wcostream/wcostream-v$wcostreamVersion.dart"; Source _wcostreamSource = Source( name: "WCOStream", baseUrl: "https://www.wcostream.org", diff --git a/anime/src/en/wcostream/wcostream-v0.0.11.dart b/anime/src/en/wcostream/wcostream-v0.0.1.dart similarity index 98% rename from anime/src/en/wcostream/wcostream-v0.0.11.dart rename to anime/src/en/wcostream/wcostream-v0.0.1.dart index f9754d36..66edae6e 100644 --- a/anime/src/en/wcostream/wcostream-v0.0.11.dart +++ b/anime/src/en/wcostream/wcostream-v0.0.1.dart @@ -2,10 +2,10 @@ import 'dart:convert'; import 'package:bridge_lib/bridge_lib.dart'; getPopularAnime(MangaModel anime) async { - return await getLatestUpdatesAnime(anime); + return await getLatestUpdatesManga(anime); } -Future getLatestUpdatesAnime(MangaModel anime) async { +Future getLatestUpdatesManga(MangaModel anime) async { final data = { "url": anime.baseUrl, "headers": {"Referer": "https://wcostream.org/"},