Add support for https for all extractors as preventive and future-proof measure
[youtube-dl] / youtube_dl / extractor / bbc.py
index b46bc4856239ad634ba9aab1791cc8eea8023111..2dfcee98d5b5ac9e01c611878ad9b073436983df 100644 (file)
@@ -563,14 +563,6 @@ class BBCIE(BBCCoUkIE):
             'title': 'BUGGER',
         },
         'playlist_count': 18,
-    }, {
-        # school report playlist with single video
-        'url': 'http://www.bbc.co.uk/schoolreport/35744779',
-        'info_dict': {
-            'id': '35744779',
-            'title': 'School which breaks down barriers in Jerusalem',
-        },
-        'playlist_count': 1,
     }, {
         # single video embedded with data-playable containing vpid
         'url': 'http://www.bbc.com/news/world-europe-32041533',
@@ -677,9 +669,17 @@ class BBCIE(BBCCoUkIE):
         'url': 'http://www.bbc.com/sport/0/football/34475836',
         'info_dict': {
             'id': '34475836',
-            'title': 'What Liverpool can expect from Klopp',
+            'title': 'Jurgen Klopp: Furious football from a witty and winning coach',
         },
         'playlist_count': 3,
+    }, {
+        # school report article with single video
+        'url': 'http://www.bbc.co.uk/schoolreport/35744779',
+        'info_dict': {
+            'id': '35744779',
+            'title': 'School which breaks down barriers in Jerusalem',
+        },
+        'playlist_count': 1,
     }, {
         # single video with playlist URL from weather section
         'url': 'http://www.bbc.com/weather/features/33601775',
@@ -942,7 +942,7 @@ class BBCIE(BBCCoUkIE):
 
 
 class BBCCoUkArticleIE(InfoExtractor):
-    _VALID_URL = 'http://www.bbc.co.uk/programmes/articles/(?P<id>[a-zA-Z0-9]+)'
+    _VALID_URL = r'https?://www.bbc.co.uk/programmes/articles/(?P<id>[a-zA-Z0-9]+)'
     IE_NAME = 'bbc.co.uk:article'
     IE_DESC = 'BBC articles'