2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-30 22:05:18 +00:00

Refactoring

Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
This commit is contained in:
B0pol
2020-01-20 21:28:26 +01:00
committed by GitHub
parent ad7f97ae83
commit f403490bd9

View File

@@ -76,7 +76,7 @@ public class PeertubeStreamExtractor extends StreamExtractor {
} catch (ParsingException e) {
return "No description";
}
if (desc.length() == 250 && desc.substring(desc.length() - 3).equals("...")) {
if (desc.length() == 250 && desc.substring(247).equals("...")) {
//if description is shortened, get full description
Downloader dl = NewPipe.getDownloader();
try {