mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
update anime_index
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
import '../../../../model/source.dart';
|
import '../../../../model/source.dart';
|
||||||
|
|
||||||
Source get wcostreamSource => _wcostreamSource;
|
Source get wcostreamSource => _wcostreamSource;
|
||||||
const wcostreamVersion = "0.0.11";
|
const wcostreamVersion = "0.0.1";
|
||||||
const wcostreamSourceCodeUrl =
|
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(
|
Source _wcostreamSource = Source(
|
||||||
name: "WCOStream",
|
name: "WCOStream",
|
||||||
baseUrl: "https://www.wcostream.org",
|
baseUrl: "https://www.wcostream.org",
|
||||||
|
|||||||
@@ -2,10 +2,10 @@ import 'dart:convert';
|
|||||||
import 'package:bridge_lib/bridge_lib.dart';
|
import 'package:bridge_lib/bridge_lib.dart';
|
||||||
|
|
||||||
getPopularAnime(MangaModel anime) async {
|
getPopularAnime(MangaModel anime) async {
|
||||||
return await getLatestUpdatesAnime(anime);
|
return await getLatestUpdatesManga(anime);
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<MangaModel> getLatestUpdatesAnime(MangaModel anime) async {
|
Future<MangaModel> getLatestUpdatesManga(MangaModel anime) async {
|
||||||
final data = {
|
final data = {
|
||||||
"url": anime.baseUrl,
|
"url": anime.baseUrl,
|
||||||
"headers": {"Referer": "https://wcostream.org/"},
|
"headers": {"Referer": "https://wcostream.org/"},
|
||||||
Reference in New Issue
Block a user