From: Sergey M․ Date: Sat, 18 Jul 2015 12:05:08 +0000 (+0600) Subject: [vk:uservideos] Revert orderedSet X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=fec73daaa30d006bc6c5d0483d255b7bc1c256b1;p=youtube-dl [vk:uservideos] Revert orderedSet --- 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',