Explorar o código

Fix some only matching tests (closes #14855)

Sergey M․ %!s(int64=7) %!d(string=hai) anos
pai
achega
7512aa986f

+ 3 - 3
youtube_dl/extractor/orf.py

@@ -49,13 +49,13 @@ class ORFTVthekIE(InfoExtractor):
         'params': {
         'params': {
             'skip_download': True,  # rtsp downloads
             'skip_download': True,  # rtsp downloads
         },
         },
-        '_skip': 'Blocked outside of Austria / Germany',
+        'skip': 'Blocked outside of Austria / Germany',
     }, {
     }, {
         'url': 'http://tvthek.orf.at/topic/Fluechtlingskrise/10463081/Heimat-Fremde-Heimat/13879132/Senioren-betreuen-Migrantenkinder/13879141',
         'url': 'http://tvthek.orf.at/topic/Fluechtlingskrise/10463081/Heimat-Fremde-Heimat/13879132/Senioren-betreuen-Migrantenkinder/13879141',
-        'skip_download': True,
+        'only_matching': True,
     }, {
     }, {
         'url': 'http://tvthek.orf.at/profile/Universum/35429',
         'url': 'http://tvthek.orf.at/profile/Universum/35429',
-        'skip_download': True,
+        'only_matching': True,
     }]
     }]
 
 
     def _real_extract(self, url):
     def _real_extract(self, url):

+ 1 - 1
youtube_dl/extractor/rozhlas.py

@@ -21,7 +21,7 @@ class RozhlasIE(InfoExtractor):
         }
         }
     }, {
     }, {
         'url': 'http://prehravac.rozhlas.cz/audio/3421320/embed',
         'url': 'http://prehravac.rozhlas.cz/audio/3421320/embed',
-        'skip_download': True,
+        'only_matching': True,
     }]
     }]
 
 
     def _real_extract(self, url):
     def _real_extract(self, url):

+ 2 - 2
youtube_dl/extractor/vidzi.py

@@ -28,10 +28,10 @@ class VidziIE(InfoExtractor):
         },
         },
     }, {
     }, {
         'url': 'http://vidzi.tv/embed-4z2yb0rzphe9-600x338.html',
         'url': 'http://vidzi.tv/embed-4z2yb0rzphe9-600x338.html',
-        'skip_download': True,
+        'only_matching': True,
     }, {
     }, {
         'url': 'http://vidzi.cc/cghql9yq6emu.html',
         'url': 'http://vidzi.cc/cghql9yq6emu.html',
-        'skip_download': True,
+        'only_matching': True,
     }]
     }]
 
 
     def _real_extract(self, url):
     def _real_extract(self, url):

+ 1 - 1
youtube_dl/extractor/youku.py

@@ -240,7 +240,7 @@ class YoukuShowIE(InfoExtractor):
     }, {
     }, {
         # Ongoing playlist. The initial page is the last one
         # Ongoing playlist. The initial page is the last one
         'url': 'http://list.youku.com/show/id_za7c275ecd7b411e1a19e.html',
         'url': 'http://list.youku.com/show/id_za7c275ecd7b411e1a19e.html',
-        'only_matchine': True,
+        'only_matching': True,
     }]
     }]
 
 
     def _extract_entries(self, playlist_data_url, show_id, note, query):
     def _extract_entries(self, playlist_data_url, show_id, note, query):