[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 @@ def _real_extract(self, url):
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',