Răsfoiți Sursa

[rtvnh] Renamed rtvnhnl -> rtvnh

ngld 10 ani în urmă
părinte
comite
d9ab5262b1
2 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 1 1
      youtube_dl/extractor/__init__.py
  2. 2 2
      youtube_dl/extractor/rtvnh.py

+ 1 - 1
youtube_dl/extractor/__init__.py

@@ -491,7 +491,7 @@ from .rtl2 import RTL2IE
 from .rtp import RTPIE
 from .rts import RTSIE
 from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE
-from .rtvnhnl import RtvnhNlIE
+from .rtvnh import RTVNHIE
 from .ruhd import RUHDIE
 from .rutube import (
     RutubeIE,

+ 2 - 2
youtube_dl/extractor/rtvnhnl.py → youtube_dl/extractor/rtvnh.py

@@ -4,7 +4,7 @@ from __future__ import unicode_literals
 from .common import InfoExtractor
 
 
-class RtvnhNlIE(InfoExtractor):
+class RTVNHIE(InfoExtractor):
     _VALID_URL = r'https?://(?:www\.)?rtvnh\.nl/video/(?P<id>[0-9]+)'
     _TEST = {
         'params': {
@@ -17,7 +17,7 @@ class RtvnhNlIE(InfoExtractor):
             'id': '131946',
             'ext': 'mp4',
             'title': 'Grote zoektocht in zee bij Zandvoort naar vermiste vrouw',
-            'thumbnail': 're:^http:.*\.jpg$'
+            'thumbnail': 're:^https?:.*\.jpg$'
         }
     }