feat: video download

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-06 12:12:32 +08:00
parent 976622df89
commit ffd4f9ee73
92 changed files with 4853 additions and 946 deletions

View File

@@ -10,6 +10,9 @@ class RetryInterceptor extends Interceptor {
@override
void onError(DioException err, ErrorInterceptorHandler handler) {
if (err.requestOptions.responseType == ResponseType.stream) {
return handler.next(err);
}
if (err.response != null) {
final options = err.requestOptions;
if (options.followRedirects && options.maxRedirects > 0) {