Update neonime domain

This commit is contained in:
Moe Poi ~ 2020-08-29 23:17:28 +07:00
parent f33ecb8ed1
commit 20d57839e1
6 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ Future<dynamic> getAnime(String page) async {
List links = <String>[];
List titles = <String>[];
final response = await http
.get('https://neonime.moe/tvshows/page/$page/')
.get('https://neonime.vip/tvshows/page/$page/')
.catchError((e) {
print(e);
});

View file

@ -6,7 +6,7 @@ Future<dynamic> getBatch(String page) async {
List<String> images = <String>[];
List<String> links = <String>[];
List<String> titles = <String>[];
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) {

View file

@ -7,7 +7,7 @@ Future<dynamic> getGenre(String type, String page) async {
List links = <String>[];
List titles = <String>[];
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);
});

View file

@ -7,7 +7,7 @@ Future<dynamic> getMovie(String page) async {
List links = <String>[];
List titles = <String>[];
final response = await http
.get('https://neonime.moe/movies/page/$page/')
.get('https://neonime.vip/movies/page/$page/')
.catchError((e) {
print(e);
});

View file

@ -7,7 +7,7 @@ Future<dynamic> getNewRelease(String page) async {
List links = <String>[];
List titles = <String>[];
final response = await http
.get('https://neonime.moe/episode/page/$page/')
.get('https://neonime.vip/episode/page/$page/')
.catchError((e) {
print(e);
});

View file

@ -6,7 +6,7 @@ Future<dynamic> getSearch(String query) async {
List<String> images = <String>[];
List<String> links = <String>[];
List<String> titles = <String>[];
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) {