From 2918f4aaa7199f74a24c55595cdc4f86a795bf94 Mon Sep 17 00:00:00 2001 From: jaykay12 <jalazkumar1208@gmail.com> Date: Wed, 4 Oct 2017 14:15:31 +0530 Subject: [PATCH] Added test --- youtube_dl/extractor/pornflip.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/youtube_dl/extractor/pornflip.py b/youtube_dl/extractor/pornflip.py index 7de7fdf87..95044e70e 100644 --- a/youtube_dl/extractor/pornflip.py +++ b/youtube_dl/extractor/pornflip.py @@ -34,6 +34,26 @@ class PornFlipIE(InfoExtractor): }, { 'url': 'https://www.pornflip.com/embed/wz7DfNhMmep', 'only_matching': True, + }, { + 'url': 'https://www.pornflip.com/v/EkRD6-vS2-s', + 'md5': 'd1daf08112bce8c02d18da2a7c928b22', + 'info_dict': { + 'id': 'EkRD6-vS2-s', + 'ext': 'mp4', + 'title': 'Deepthroat creampie for norwegian step mom', + 'thumbnail': r're:^https?://.*\.jpg$', + 'duration': 334, + 'timestamp': 1506447970, + 'upload_date': '20170926', + 'uploader_id': '160131', + 'uploader': 'Abarrambbar', + 'view_count': int, + 'age_limit': 18, + } + + }, { + 'url': 'https://www.pornflip.com/embed/EkRD6-vS2-s', + 'only_matching': True, }] def _real_extract(self, url):