From 9d24014cb05493cedf3dd8c67501532cce74ebda Mon Sep 17 00:00:00 2001 From: Shivam Kumar Date: Fri, 10 Mar 2023 11:37:46 +0530 Subject: [PATCH] changed underlying api to a better one --- lib/helpers/animepahe_scrapper.dart | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/helpers/animepahe_scrapper.dart b/lib/helpers/animepahe_scrapper.dart index 703b0ed..b547097 100644 --- a/lib/helpers/animepahe_scrapper.dart +++ b/lib/helpers/animepahe_scrapper.dart @@ -5,7 +5,8 @@ import 'package:html/parser.dart' as html; class AnimeScrapper { static const _baseUrl = "animepahe.com"; - static const _apiUrl = "anime-api-vnkr.onrender.com"; + // static const _apiUrl = "anime-api-vnkr.onrender.com"; + static const _apiUrl = "relieved-cyan-tuxedo.cyclic.app"; static const _headers = { "User-Agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36", diff --git a/pubspec.yaml b/pubspec.yaml index dcc9b66..8afff9c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 3.2.3+1 +version: 4.0.0+1 environment: sdk: ">=2.18.6 <3.0.0"