From 20d57839e1e906b4a0a143166d9fec8cee6aaf60 Mon Sep 17 00:00:00 2001 From: Moe Date: Sat, 29 Aug 2020 23:17:28 +0700 Subject: [PATCH] Update neonime domain --- lib/scrapper/anime.dart | 2 +- lib/scrapper/batch.dart | 2 +- lib/scrapper/genre.dart | 2 +- lib/scrapper/movie.dart | 2 +- lib/scrapper/new-release.dart | 2 +- lib/scrapper/search.dart | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/scrapper/anime.dart b/lib/scrapper/anime.dart index 370faf1..750991f 100644 --- a/lib/scrapper/anime.dart +++ b/lib/scrapper/anime.dart @@ -7,7 +7,7 @@ Future getAnime(String page) async { List links = []; List titles = []; final response = await http - .get('https://neonime.moe/tvshows/page/$page/') + .get('https://neonime.vip/tvshows/page/$page/') .catchError((e) { print(e); }); diff --git a/lib/scrapper/batch.dart b/lib/scrapper/batch.dart index bf19e1d..e46d222 100644 --- a/lib/scrapper/batch.dart +++ b/lib/scrapper/batch.dart @@ -6,7 +6,7 @@ Future getBatch(String page) async { List images = []; List links = []; List titles = []; - final response = await http.get('https://neonime.moe/batch/page/$page/'); + final response = await http.get('https://neonime.vip/batch/page/$page/'); var document = parse(response.body); var items = document.getElementsByClassName('item'); items.forEach((item) { diff --git a/lib/scrapper/genre.dart b/lib/scrapper/genre.dart index 5a6a8b5..ae89a23 100644 --- a/lib/scrapper/genre.dart +++ b/lib/scrapper/genre.dart @@ -7,7 +7,7 @@ Future getGenre(String type, String page) async { List links = []; List titles = []; final response = await http - .get('https://neonime.moe/tvshows-genre/$type/page/$page/') + .get('https://neonime.vip/tvshows-genre/$type/page/$page/') .catchError((e) { print(e); }); diff --git a/lib/scrapper/movie.dart b/lib/scrapper/movie.dart index 1d602c8..383cd8a 100644 --- a/lib/scrapper/movie.dart +++ b/lib/scrapper/movie.dart @@ -7,7 +7,7 @@ Future getMovie(String page) async { List links = []; List titles = []; final response = await http - .get('https://neonime.moe/movies/page/$page/') + .get('https://neonime.vip/movies/page/$page/') .catchError((e) { print(e); }); diff --git a/lib/scrapper/new-release.dart b/lib/scrapper/new-release.dart index d31b82a..dfc23d9 100644 --- a/lib/scrapper/new-release.dart +++ b/lib/scrapper/new-release.dart @@ -7,7 +7,7 @@ Future getNewRelease(String page) async { List links = []; List titles = []; final response = await http - .get('https://neonime.moe/episode/page/$page/') + .get('https://neonime.vip/episode/page/$page/') .catchError((e) { print(e); }); diff --git a/lib/scrapper/search.dart b/lib/scrapper/search.dart index 6081e24..5acb739 100644 --- a/lib/scrapper/search.dart +++ b/lib/scrapper/search.dart @@ -6,7 +6,7 @@ Future getSearch(String query) async { List images = []; List links = []; List titles = []; - final response = await http.get('https://neonime.moe/?s=$query'); + final response = await http.get('https://neonime.vip/?s=$query'); var document = parse(response.body); var table = document.getElementsByClassName('item_1 items')[0]; table.getElementsByTagName('img').forEach((x) {