diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-23 10:11:04 +0100 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-23 10:11:04 +0100 | 
| commit | a8363f3ab7eb56d20738bcc9d99cc78a33874016 (patch) | |
| tree | 251a87843cf128bb92bec2855608a38099dce4c2 | |
| parent | 010cd3a3eee3b7c0a86424a2cc426cf427dab25f (diff) | |
[vk] Clarify test
| -rw-r--r-- | youtube_dl/extractor/vk.py | 20 | 
1 files changed, 5 insertions, 15 deletions
diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index daf615af9..0e7d4dff2 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -75,21 +75,6 @@ class VKIE(InfoExtractor):              'skip': 'Requires vk account credentials',          },          { -            # VIDEO NOW REMOVED -            # please update if you find a video whose URL follows the same pattern -            'url': 'http://vk.com/feed?z=video-43215063_166094326%2Fbb50cacd3177146d7a', -            'md5': 'd82c22e449f036282d1d3f7f4d276869', -            'info_dict': { -                'id': '166094326', -                'ext': 'mp4', -                'uploader': 'Киномания - лучшее из мира кино', -                'title': 'Запах женщины (1992)', -                'duration': 9392, -                'upload_date': '20130914' -            }, -            'skip': 'Requires vk account credentials', -        }, -        {              'url': 'http://vk.com/hd_kino_mania?z=video-43215063_168067957%2F15c66b9b533119788d',              'md5': '4d7a5ef8cf114dfa09577e57b2993202',              'info_dict': { @@ -115,6 +100,11 @@ class VKIE(InfoExtractor):              },              'skip': 'Only works from Russia',          }, +        { +            # removed video, just testing that we match the pattern +            'url': 'http://vk.com/feed?z=video-43215063_166094326%2Fbb50cacd3177146d7a', +            'only_matching': True, +        },      ]      def _login(self):  | 
