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/YoutubeStreamInfoItemLockupExtractor.java
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ public StreamType getStreamType() {
68
68
69
69
@Override
70
70
publicbooleanisAd() throwsParsingException {
71
-
if(isPremium()) {
71
+
if(isPremium()) {
72
72
returntrue;
73
73
}
74
74
finalStringname = getName(); // only get it once
@@ -113,12 +113,12 @@ public long getDuration() throws ParsingException {
113
113
.getString("text"))
114
114
.collect(Collectors.toList());
115
115
116
-
if(potentialDurations.isEmpty()) {
116
+
if(potentialDurations.isEmpty()) {
117
117
thrownewParsingException("Could not get duration: No parsable durations detected");
0 commit comments