Update extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java
Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
This commit is contained in:
@@ -113,7 +113,7 @@ public class YoutubeParsingHelper {
|
|||||||
* @return the duration in seconds
|
* @return the duration in seconds
|
||||||
* @throws ParsingException when more than 3 seperators are found
|
* @throws ParsingException when more than 3 seperators are found
|
||||||
*/
|
*/
|
||||||
public static int parseDurationString(String input)
|
public static int parseDurationString(final String input)
|
||||||
throws ParsingException, NumberFormatException {
|
throws ParsingException, NumberFormatException {
|
||||||
// If time separator : is not detected, try . instead
|
// If time separator : is not detected, try . instead
|
||||||
final String[] splitInput = input.contains(":")
|
final String[] splitInput = input.contains(":")
|
||||||
|
|||||||
Reference in New Issue
Block a user