aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-23 10:11:52 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-23 10:11:52 +0100
commitd16abf434aa22ee20aefd26491894d4600c48af0 (patch)
tree01216c32b242d4f5df0c647f7254513daf463b7a /youtube_dl
parenta8363f3ab7eb56d20738bcc9d99cc78a33874016 (diff)
[vk] Some PEP8 love
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vk.py9
1 files changed, 6 insertions, 3 deletions
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)