1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-10 19:37:25 +00:00

[vk:uservideos] Revert orderedSet

This commit is contained in:
Sergey M․ 2015-07-18 18:05:08 +06:00
parent c6b68648f4
commit fec73daaa3

View File

@ -314,7 +314,7 @@ class VKUserVideosIE(InfoExtractor):
entries = [
self.url_result(
'http://vk.com/video' + video_id, 'VK', video_id=video_id)
for video_id in set(re.findall(r'href="/video(-?[0-9_]+)"', webpage))]
for video_id in orderedSet(re.findall(r'href="/video(-?[0-9_]+)"', webpage))]
title = unescapeHTML(self._search_regex(
r'<title>\s*([^<]+?)\s+\|\s+\d+\s+videos',