Update extractor version
This commit is contained in:
parent
fbab80145e
commit
2b9c7fee20
|
@ -63,7 +63,7 @@ dependencies {
|
||||||
exclude module: 'support-annotations'
|
exclude module: 'support-annotations'
|
||||||
})
|
})
|
||||||
|
|
||||||
implementation 'com.github.TeamNewPipe:NewPipeExtractor:fc465c8bf'
|
implementation 'com.github.TeamNewPipe:NewPipeExtractor:6446abc6d'
|
||||||
testImplementation 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
testImplementation 'org.mockito:mockito-core:2.23.0'
|
testImplementation 'org.mockito:mockito-core:2.23.0'
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,8 @@ public class DownloaderImpl extends Downloader {
|
||||||
responseBodyToReturn = body.string();
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue