Bandcamp search extractor: read track count from result page

This commit is contained in:
Fynn Godau
2019-12-22 14:07:56 +01:00
parent 9b16baffb7
commit 13e4908b83
3 changed files with 9 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ public class BandcampSearchExtractorTest {
assertTrue(minecraft.getThumbnailUrl().contains("f4.bcbits.com/img/"));
assertEquals("https://c418.bandcamp.com/album/minecraft-volume-alpha", minecraft.getUrl());
// Verify that playlists get counted correctly
// Verify that playlist tracks counts get extracted correctly
assertEquals(24, ((PlaylistInfoItem) minecraft).getStreamCount());
}