Merge pull request #505 from TeamNewPipe/meida.ccc.de_search_fix

[media.ccc.de] Fix NPE in search results if they contain a future talk
This commit is contained in:
Stypox
2021-01-15 14:16:59 +01:00
committed by GitHub
5 changed files with 36 additions and 11 deletions

View File

@@ -27,7 +27,6 @@ public class MediaCCCLiveStreamListExtractorTest {
@Test
public void getConferencesListTest() throws Exception {
final List<InfoItem> a = extractor.getInitialPage().getItems();
assertTrue(a.size() > 2);
for (int i = 0; i < a.size(); i++) {
final InfoItem b = a.get(i);
assertNotNull(a.get(i).getName());