fixed the frankly ridiculously wrong youtube url regex in youtube.py.
This commit is contained in:
parent
19083d3bf6
commit
4bca2cb95d
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import re
|
||||||
import Utils
|
import Utils
|
||||||
|
|
||||||
REGEX_YOUTUBE = re.compile(
|
REGEX_YOUTUBE = re.compile(
|
||||||
"https?://(?:www.)?(?:youtu.be/|youtube.com/watch\?[^\S]*v=)(\w{11})",
|
"https?://(?:www.)?(?:youtu.be/|youtube.com/watch\?[\S]*v=)([\w\-]{11})",
|
||||||
re.I)
|
re.I)
|
||||||
REGEX_ISO8601 = re.compile("PT(\d+H)?(\d+M)?(\d+S)?", re.I)
|
REGEX_ISO8601 = re.compile("PT(\d+H)?(\d+M)?(\d+S)?", re.I)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue