fixed another pattern problem
This commit is contained in:
parent
8126fdcd15
commit
c7c77ab20c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class YoutubeVideoUrlIdHandler implements VideoUrlIdHandler {
|
||||||
throw new ParsingException("Could not parse attribution_link", uee);
|
throw new ParsingException("Could not parse attribution_link", uee);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
id = Parser.matchGroup1("youtube\\.com/watch\\?v=([\\-a-zA-Z0-9_]{11})", url);
|
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(url.contains("youtu.be")) {
|
else if(url.contains("youtu.be")) {
|
||||||
|
|
Loading…
Reference in a new issue