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/"},