Skip to content

Commit 91c360d

Browse files
committed
Remove section of dead code
1 parent ddd563f commit 91c360d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -823,13 +823,6 @@ private List<SubtitlesInfo> getAvailableSubtitlesInfo() throws SubtitlesExceptio
823823
// If the video is age restricted getPlayerConfig will fail
824824
if(isAgeRestricted) return Collections.emptyList();
825825

826-
final JsonObject playerConfig;
827-
try {
828-
playerConfig = getPlayerConfig(getPageHtml(NewPipe.getDownloader()));
829-
} catch (IOException | ExtractionException e) {
830-
throw new SubtitlesException("Unable to download player configs", e);
831-
}
832-
833826
final JsonObject captions;
834827
if (!playerResponse.has("captions")) {
835828
// Captions does not exist

0 commit comments

Comments
 (0)