aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-16 13:44:44 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-16 13:44:44 +0100
commit9d22a7dfb07ad6ff23680e11238744b2bb1735aa (patch)
tree8f02abf754743a8227e0bb209d243f76a8dcb2f8 /youtube_dl/utils.py
parent4f4f6428224b641eb97ffd4b90be9d67034fc64a (diff)
[fourtube] Fix extraction
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 2546fa45d..7832ed87f 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -1277,7 +1277,7 @@ def parse_duration(s):
s = s.strip()
m = re.match(
- r'''(?ix)T?
+ r'''(?ix)(?:P?T)?
(?:
(?P<only_mins>[0-9.]+)\s*(?:mins?|minutes?)\s*|
(?P<only_hours>[0-9.]+)\s*(?:hours?)|