Update extractor version

This commit is contained in:
TobiGr 2020-03-01 15:37:47 +01:00
parent fbab80145e
commit 2b9c7fee20
2 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ dependencies {
exclude module: 'support-annotations'
})
implementation 'com.github.TeamNewPipe:NewPipeExtractor:fc465c8bf'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:6446abc6d'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.0'

View File

@ -171,7 +171,8 @@ public class DownloaderImpl extends Downloader {
responseBodyToReturn = body.string();
}
return new Response(response.code(), response.message(), response.headers().toMultimap(), responseBodyToReturn);
final String latestUrl = response.request().url().toString();
return new Response(response.code(), response.message(), response.headers().toMultimap(), responseBodyToReturn, latestUrl);
}
/**