mirror of
https://gitlab.com/moepoi/neonime-app.git
synced 2024-11-22 15:06:23 +01:00
Update neonime domain
This commit is contained in:
parent
f33ecb8ed1
commit
20d57839e1
6 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue