Skip to content

Commit f403490

Browse files
B0polTobiGr
andauthored
Refactoring
Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
1 parent ad7f97a commit f403490

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeStreamExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public String getDescription() throws ParsingException {
7676
} catch (ParsingException e) {
7777
return "No description";
7878
}
79-
if (desc.length() == 250 && desc.substring(desc.length() - 3).equals("...")) {
79+
if (desc.length() == 250 && desc.substring(247).equals("...")) {
8080
//if description is shortened, get full description
8181
Downloader dl = NewPipe.getDownloader();
8282
try {

0 commit comments

Comments
 (0)