Use lightweight requests when getting and checking YouTube API key and client version

This commit is contained in:
TiA4f8R
2021-04-12 18:24:32 +02:00
parent 9ab9c66ddf
commit 991b2c7d73
2 changed files with 56 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ public class YoutubeParsingHelperTest {
@Test
public void testIsHardcodedClientVersionValid() throws IOException, ExtractionException {
assertTrue("Hardcoded client version is not valid anymore",
YoutubeParsingHelper.isHardcodedClientVersionValid());
YoutubeParsingHelper.areHardcodedClientVersionAndKeyValid());
}
@Test