From: Philipp Hagemeister Date: Sun, 23 Nov 2014 09:11:52 +0000 (+0100) Subject: [vk] Some PEP8 love X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d16abf434aa22ee20aefd26491894d4600c48af0;p=youtube-dl [vk] Some PEP8 love --- diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 0e7d4dff2..9d6ec4382 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -210,7 +210,10 @@ class VKUserVideosIE(InfoExtractor): def _real_extract(self, url): page_id = self._match_id(url) page = self._download_webpage(url, page_id) - video_ids = orderedSet(m.group(1) for m in re.finditer(r'href="/video([0-9_]+)"', page)) - url_entries = [self.url_result('http://vk.com/video' + video_id, 'VK', video_id=video_id) - for video_id in video_ids] + video_ids = orderedSet( + m.group(1) for m in re.finditer(r'href="/video([0-9_]+)"', page)) + url_entries = [ + self.url_result( + 'http://vk.com/video' + video_id, 'VK', video_id=video_id) + for video_id in video_ids] return self.playlist_result(url_entries, page_id)