[YouTube] parse timestamps with >3 digits correctly (#775)

* [YouTube] parse timestamps with >3 digits correctly

Fixes https://github.com/TeamNewPipe/NewPipe/issues/7530; check the
issue for details.

* Remove outdated comment
This commit is contained in:
Mohammed Anas
2022-01-12 12:45:06 +03:00
committed by GitHub
parent 10f6cc7194
commit 65df39b3e3
3 changed files with 6 additions and 6 deletions

View File

@@ -112,8 +112,8 @@ public class YoutubeStreamExtractorDefaultTest {
public static class DescriptionTestPewdiepie extends DefaultStreamExtractorTest {
private static final String ID = "7PIMiDcwNvc";
private static final int TIMESTAMP = 17;
private static final String URL = BASE_URL + ID + "&t=" + TIMESTAMP;
private static final int TIMESTAMP = 7483;
private static final String URL = BASE_URL + ID + "&t=" + TIMESTAMP + "s";
private static StreamExtractor extractor;
@BeforeClass