Browse Source

[southparkdk] Add extractor

totalwebcasting
rrooij 10 years ago
committed by Sergey M․
parent
commit
968ee17677
2 changed files with 11 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/__init__.py
  2. +10
    -0
      youtube_dl/extractor/southpark.py

+ 1
- 0
youtube_dl/extractor/__init__.py View File

@ -490,6 +490,7 @@ from .soundgasm import (
from .southpark import (
SouthParkIE,
SouthParkDeIE,
SouthParkDkIE,
SouthParkEsIE,
SouthParkNlIE
)


+ 10
- 0
youtube_dl/extractor/southpark.py View File

@ -57,3 +57,13 @@ class SouthParkNlIE(SouthParkIE):
'url': 'http://www.southpark.nl/full-episodes/s18e06-freemium-isnt-free',
'playlist_count': 4,
}]
class SouthParkDkIE(SouthParkIE):
IE_NAME = 'southpark.dk'
_VALID_URL = r'https?://(?:www\.)?(?P<url>southparkstudios\.dk/(?:clips|full-episodes)/(?P<id>.+?)(\?|#|$))'
_FEED_URL = 'http://www.southparkstudios.dk/feeds/video-player/mrss/'
_TESTS = [{
'url': 'http://www.southparkstudios.dk/full-episodes/s18e07-grounded-vindaloop',
'playlist_count': 4,
}]

Loading…
Cancel
Save