Remove section of dead code
This commit is contained in:
parent
ddd563fe78
commit
91c360df5e
1 changed files with 0 additions and 7 deletions
|
@ -823,13 +823,6 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
// If the video is age restricted getPlayerConfig will fail
|
||||
if(isAgeRestricted) return Collections.emptyList();
|
||||
|
||||
final JsonObject playerConfig;
|
||||
try {
|
||||
playerConfig = getPlayerConfig(getPageHtml(NewPipe.getDownloader()));
|
||||
} catch (IOException | ExtractionException e) {
|
||||
throw new SubtitlesException("Unable to download player configs", e);
|
||||
}
|
||||
|
||||
final JsonObject captions;
|
||||
if (!playerResponse.has("captions")) {
|
||||
// Captions does not exist
|
||||
|
|
Loading…
Reference in a new issue