You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeChannelInfoItemExtractor.java
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -45,13 +45,10 @@ public YoutubeChannelInfoItemExtractor(final JsonObject channelInfoItem) {
Copy file name to clipboardExpand all lines: extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java
+14-28Lines changed: 14 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -168,11 +168,7 @@ public String getName() throws ParsingException {
168
168
title = playerResponse.getObject("videoDetails").getString("title");
169
169
170
170
if (isNullOrEmpty(title)) {
171
-
try {
172
-
title = getTextFromObject(getVideoPrimaryInfoRenderer().getObject("title"));
173
-
} catch (finalParsingExceptionignored) {
174
-
// Age-restricted videos cause a ParsingException here
175
-
}
171
+
title = getTextFromObject(getVideoPrimaryInfoRenderer().getObject("title"));
176
172
177
173
if (isNullOrEmpty(title)) {
178
174
thrownewParsingException("Could not get name");
@@ -285,21 +281,17 @@ public String getThumbnailUrl() throws ParsingException {
Copy file name to clipboardExpand all lines: extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/stream/YoutubeStreamExtractorDefaultTest.java
Copy file name to clipboardExpand all lines: extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/comments/formatting/generated_mock_0.json
Copy file name to clipboardExpand all lines: extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/comments/formatting/generated_mock_1.json
0 commit comments