mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-28 16:00:33 +05:30
remove print stacktrace
use interface
This commit is contained in:
parent
02920fafa8
commit
ea120a4637
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user