File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import 'package:AnimeFlow/modules/video/episode_source.dart';
1212class VideoService {
1313 static final Logger _log = Logger ('VideoService' );
1414
15- static const String websiteUrl = 'https://dm.xifanacg.com ' ;
16- static const String searchUrl = 'https://dm.xifanacg.com /search.html?wd=' ;
15+ static const String websiteUrl = 'https://dm1.xfdm.pro ' ;
16+ static const String searchUrl = 'https://dm1.xfdm.pro /search.html?wd=' ;
1717 static const int requestInterval = 1 ;
1818
1919 /// 获取剧集源
@@ -26,10 +26,7 @@ class VideoService {
2626 searchUrl + keyword,
2727 options: Options (headers: {'User-Agent' : CommonApi .userAgent}),
2828 );
29- if (response.statusCode != 200 ) {
30- _log.warning ('请求异常,状态码:${response .statusCode }' );
31- return null ;
32- }
29+
3330 if (response.data != null ) {
3431 // 解析条目名称列表和条目链接列表
3532 final parseResult = VideoAnalysis .parseSearchResults (
You can’t perform that action at this time.
0 commit comments