mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-09-01 06:45:53 +00:00
remove print stacktrace
use interface
This commit is contained in:
@@ -311,7 +311,7 @@ public class BandcampStreamExtractor extends StreamExtractor {
|
|||||||
public List<String> getTags() {
|
public List<String> getTags() {
|
||||||
final Elements tagElements = document.getElementsByAttributeValue("itemprop", "keywords");
|
final Elements tagElements = document.getElementsByAttributeValue("itemprop", "keywords");
|
||||||
|
|
||||||
final ArrayList<String> tags = new ArrayList<>();
|
final List<String> tags = new ArrayList<>();
|
||||||
|
|
||||||
for (final Element e : tagElements) {
|
for (final Element e : tagElements) {
|
||||||
tags.add(e.text());
|
tags.add(e.text());
|
||||||
|
@@ -47,8 +47,6 @@ public class BandcampSuggestionExtractor extends SuggestionExtractor {
|
|||||||
|
|
||||||
return suggestions;
|
return suggestions;
|
||||||
} catch (final JsonParserException e) {
|
} catch (final JsonParserException e) {
|
||||||
e.printStackTrace();
|
|
||||||
|
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user