0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00: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 @@ 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',