1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01: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',