mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-18 08:11:32 -05:00
[vk] Some PEP8 love
This commit is contained in:
parent
a8363f3ab7
commit
d16abf434a
1 changed files with 6 additions and 3 deletions
|
@ -210,7 +210,10 @@ class VKUserVideosIE(InfoExtractor):
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
page_id = self._match_id(url)
|
page_id = self._match_id(url)
|
||||||
page = self._download_webpage(url, page_id)
|
page = self._download_webpage(url, page_id)
|
||||||
video_ids = orderedSet(m.group(1) for m in re.finditer(r'href="/video([0-9_]+)"', page))
|
video_ids = orderedSet(
|
||||||
url_entries = [self.url_result('http://vk.com/video' + video_id, 'VK', video_id=video_id)
|
m.group(1) for m in re.finditer(r'href="/video([0-9_]+)"', page))
|
||||||
for video_id in video_ids]
|
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)
|
return self.playlist_result(url_entries, page_id)
|
||||||
|
|
Loading…
Reference in a new issue