summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-01-21 18:40:37 +0700
committerSergey M․ <dstftw@gmail.com>2018-01-21 18:41:46 +0700
commit99d6e696fced51bbabc1b70dee347a3990ffb8df (patch)
treea13ce73d5f82e4072dc1a78cc58d07975692a0e7
parent6289e078836454eedda0a441f66347cd40051443 (diff)
downloadyoutube-dl-99d6e696fced51bbabc1b70dee347a3990ffb8df.tar.gz
youtube-dl-99d6e696fced51bbabc1b70dee347a3990ffb8df.tar.xz
youtube-dl-99d6e696fced51bbabc1b70dee347a3990ffb8df.zip
[southpark] Add tests for collections (closes #14803)
-rw-r--r--youtube_dl/extractor/southpark.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py
index 983437d0b..48d5db583 100644
--- a/youtube_dl/extractor/southpark.py
+++ b/youtube_dl/extractor/southpark.py
@@ -20,6 +20,9 @@ class SouthParkIE(MTVServicesInfoExtractor):
             'timestamp': 1112760000,
             'upload_date': '20050406',
         },
+    }, {
+        'url': 'http://southpark.cc.com/collections/7758/fan-favorites/1',
+        'only_matching': True,
     }]
 
 
@@ -70,6 +73,9 @@ class SouthParkDeIE(SouthParkIE):
             'description': 'Kyle will mit seinem kleinen Bruder Ike Videospiele spielen. Als der nicht mehr mit ihm spielen will, hat Kyle Angst, dass er die Kids von heute nicht mehr versteht.',
         },
         'playlist_count': 3,
+    }, {
+        'url': 'http://www.southpark.de/collections/2476/superhero-showdown/1',
+        'only_matching': True,
     }]
 
 
@@ -100,4 +106,7 @@ class SouthParkDkIE(SouthParkIE):
             'description': 'Butters is convinced he\'s living in a virtual reality.',
         },
         'playlist_mincount': 3,
+    }, {
+        'url': 'http://www.southparkstudios.dk/collections/2476/superhero-showdown/1',
+        'only_matching': True,
     }]