[vk:uservideos] Revert orderedSet
authorSergey M․ <dstftw@gmail.com>
Sat, 18 Jul 2015 12:05:08 +0000 (18:05 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 18 Jul 2015 12:23:35 +0000 (18:23 +0600)
youtube_dl/extractor/vk.py

index ef94b689488d98d7aec23c1d0afa9fe6544561c2..98bd3a14145cced545bbe1a7f9051baa1ef8d6ff 100644 (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',