Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

fix(bbcode): preserve animated musume

Prediditb26b72753ea1
diff --git a/lib/services/network/proxy_aware_image_cache_manager.dart b/lib/services/network/proxy_aware_image_cache_manager.dart
index 65f86b46..a707994e 100644
--- a/lib/services/network/proxy_aware_image_cache_manager.dart
+++ b/lib/services/network/proxy_aware_image_cache_manager.dart
@@ -33,7 +33,9 @@ class ProxyAwareImageFileService extends FileService {
final sourceUrl =
uri.host + uri.path + (uri.hasQuery ? '?${uri.query}' : '');
- return 'https://wsrv.nl/?url=$sourceUrl';
+ final animationParameter =
+ uri.path.toLowerCase().endsWith('.gif') ? '&n=-1' : '';
+ return 'https://wsrv.nl/?url=$sourceUrl$animationParameter';
}
@override