From fec73daaa30d006bc6c5d0483d255b7bc1c256b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Sat, 18 Jul 2015 18:05:08 +0600 Subject: [PATCH] [vk:uservideos] Revert orderedSet --- youtube_dl/extractor/vk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index ef94b6894..98bd3a141 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -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'\s*([^<]+?)\s+\|\s+\d+\s+videos', -- 2.39.5