File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import org .schabi .newpipe .extractor .stream .StreamInfoItem ;
1616import org .schabi .newpipe .extractor .stream .StreamInfoItemsCollector ;
1717
18+ import java .io .IOException ;
19+
1820import javax .annotation .Nonnull ;
1921import javax .annotation .Nullable ;
2022
21- import java .io .IOException ;
22- import java .util .ArrayList ;
23- import java .util .List ;
24-
2523@ SuppressWarnings ("WeakerAccess" )
2624public class SoundcloudPlaylistExtractor extends PlaylistExtractor {
2725 private static final int streamsPerRequestedPage = 15 ;
Original file line number Diff line number Diff line change 44import com .grack .nanojson .JsonObject ;
55import com .grack .nanojson .JsonParser ;
66import com .grack .nanojson .JsonParserException ;
7+
78import org .schabi .newpipe .extractor .MediaFormat ;
89import org .schabi .newpipe .extractor .NewPipe ;
910import org .schabi .newpipe .extractor .StreamingService ;
1516import org .schabi .newpipe .extractor .localization .DateWrapper ;
1617import org .schabi .newpipe .extractor .stream .*;
1718
18- import javax .annotation .Nonnull ;
1919import java .io .IOException ;
2020import java .io .UnsupportedEncodingException ;
2121import java .net .URLEncoder ;
22- import java .text .SimpleDateFormat ;
23- import java .time .format .DateTimeFormatter ;
2422import java .util .ArrayList ;
2523import java .util .Collections ;
2624import java .util .List ;
2725import java .util .Locale ;
2826
27+ import javax .annotation .Nonnull ;
28+
2929public class SoundcloudStreamExtractor extends StreamExtractor {
3030 private JsonObject track ;
3131
Original file line number Diff line number Diff line change 22
33import org .hamcrest .CoreMatchers ;
44import org .junit .BeforeClass ;
5- import org .junit .Ignore ;
65import org .junit .Test ;
76import org .schabi .newpipe .DownloaderTestImpl ;
87import org .schabi .newpipe .extractor .ListExtractor ;
98import org .schabi .newpipe .extractor .NewPipe ;
10- import org .schabi .newpipe .extractor .exceptions .ExtractionException ;
119import org .schabi .newpipe .extractor .playlist .PlaylistExtractor ;
1210import org .schabi .newpipe .extractor .services .BasePlaylistExtractorTest ;
1311import org .schabi .newpipe .extractor .stream .StreamInfoItem ;
1412
15- import java .io .IOException ;
16-
1713import static org .junit .Assert .*;
1814import static org .schabi .newpipe .extractor .ExtractorAsserts .assertIsSecureUrl ;
1915import static org .schabi .newpipe .extractor .ServiceList .SoundCloud ;
You can’t perform that action at this time.
0 commit comments