mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-30 22:05:18 +00:00
[YouTube] Use a handle for YoutubeChannelExtractorTest.Gronkh
This commit is contained in:
@@ -155,7 +155,7 @@ public class YoutubeChannelExtractorTest {
|
||||
YoutubeTestsUtils.ensureStateless();
|
||||
NewPipe.init(DownloaderFactory.getDownloader(RESOURCE_PATH + "gronkh"));
|
||||
extractor = (YoutubeChannelExtractor) YouTube
|
||||
.getChannelExtractor("http://www.youtube.com/user/Gronkh");
|
||||
.getChannelExtractor("http://www.youtube.com/@Gronkh");
|
||||
extractor.fetchPage();
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ public class YoutubeChannelExtractorTest {
|
||||
|
||||
@Test
|
||||
public void testOriginalUrl() throws ParsingException {
|
||||
assertEquals("http://www.youtube.com/user/Gronkh", extractor.getOriginalUrl());
|
||||
assertEquals("http://www.youtube.com/@Gronkh", extractor.getOriginalUrl());
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user