Refactoring
Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
This commit is contained in:
parent
ad7f97ae83
commit
f403490bd9
|
@ -76,7 +76,7 @@ public class PeertubeStreamExtractor extends StreamExtractor {
|
||||||
} catch (ParsingException e) {
|
} catch (ParsingException e) {
|
||||||
return "No description";
|
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
|
//if description is shortened, get full description
|
||||||
Downloader dl = NewPipe.getDownloader();
|
Downloader dl = NewPipe.getDownloader();
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue