diff options
author | newtonelectron <newton.electron@gmail.com> | 2015-04-05 13:57:59 -0700 |
---|---|---|
committer | newtonelectron <newton.electron@gmail.com> | 2015-04-05 13:57:59 -0700 |
commit | 5c1d459ae91d2681be88023e9056dcae3f48a70a (patch) | |
tree | 4ab734661f4200c7763adc16a547b7238916475d /youtube_dl | |
parent | 2e7daef50220ee90e8a2e2b979600f8bd4a3e40e (diff) |
[SpankBang] Add test
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/spankbang.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py index 61fd64d17..2e20a5ad5 100644 --- a/youtube_dl/extractor/spankbang.py +++ b/youtube_dl/extractor/spankbang.py @@ -8,6 +8,20 @@ class SpankBangIE(InfoExtractor): """Extractor for http://spankbang.com""" _VALID_URL = r"https?://(?:www\.)?spankbang\.com/(?P<id>\w+)/video/.*" + + _TEST = { + "url": "http://spankbang.com/3vvn/video/fantasy+solo", + "md5": "1cc433e1d6aa14bc376535b8679302f7", + "info_dict": { + "id": "3vvn", + "title": "fantasy solo", + "description": "Watch fantasy solo free HD porn video - 05 minutes - dillion harper masturbates on a bed free adult movies.", + "format": "720p", + "format_id": "720p", + "ext": "mp4", + "url": "re:http://spankbang.com/_3vvn/IjE0MjgyNjY5MTcuMzUi.IaGrcF-vDrvktMhjd-1fWixiCzU/title/720p__mp4" + } + } def _real_extract(self, url): video_id = self._match_id(url) |