]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[leeco] Recognize more Le Sports URLs (#10794)
authorYen Chi Hsuan <yan12125@gmail.com>
Thu, 29 Sep 2016 13:39:35 +0000 (21:39 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Thu, 29 Sep 2016 13:39:35 +0000 (21:39 +0800)
ChangeLog
youtube_dl/extractor/leeco.py

index f8149cc3098d2cbf45f9aaefae13b2f290dfbc85..70da55c903570e892acefdff9aae839633389e27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-vesion 2016.09.27
+version <unreleased>
+
+Extractors
++ [leeco] Recognize more Le Sports URLs (#10794)
+
+
+version 2016.09.27
 
 Core
 + Add hdcore query parameter to akamai f4m formats
index e9cc9aa5983967861b08a2d9ee79297ae3a1726e..c48a5aad17ad36324b3cf70956d0ed234ffa522b 100644 (file)
@@ -29,7 +29,7 @@ from ..utils import (
 
 class LeIE(InfoExtractor):
     IE_DESC = '乐视网'
-    _VALID_URL = r'https?://(?:www\.le\.com/ptv/vplay|sports\.le\.com/video)/(?P<id>\d+)\.html'
+    _VALID_URL = r'https?://(?:www\.le\.com/ptv/vplay|(?:sports\.le|(?:www\.)?lesports)\.com/(?:match|video))/(?P<id>\d+)\.html'
 
     _URL_TEMPLATE = 'http://www.le.com/ptv/vplay/%s.html'
 
@@ -73,6 +73,12 @@ class LeIE(InfoExtractor):
     }, {
         'url': 'http://sports.le.com/video/25737697.html',
         'only_matching': True,
+    }, {
+        'url': 'http://www.lesports.com/match/1023203003.html',
+        'only_matching': True,
+    }, {
+        'url': 'http://sports.le.com/match/1023203003.html',
+        'only_matching': True,
     }]
 
     # ror() and calc_time_key() are reversed from a embedded swf file in KLetvPlayer.swf