diff options
author | anovicecodemonkey <anovicecodemonkey13435@mailinator.com> | 2014-06-01 01:16:35 +0930 |
---|---|---|
committer | anovicecodemonkey <anovicecodemonkey13435@mailinator.com> | 2014-06-01 01:16:35 +0930 |
commit | 37e3cbe22e0bfa6b98a6343be88e1c8c2c7ac41f (patch) | |
tree | 081cb0e3a1d949d4e264aa32ccee6fcfae82e0cc /youtube_dl/extractor/common.py | |
parent | 610134730abfdaaa226de2092d8ad5d731d5b54b (diff) |
Move duplicate check to generic.py
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 26dd9882f..db472aace 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -343,16 +343,6 @@ class InfoExtractor(object): @staticmethod def playlist_result(entries, playlist_id=None, playlist_title=None): """Returns a playlist""" - # Ensure we don't have any duplicates in the playlist - seen = set() - new_list = [] - for url in entries: - theurl = tuple(url.items()) - if theurl not in seen: - seen.add(theurl) - new_list.append(url) - entries = new_list - video_info = {'_type': 'playlist', 'entries': entries} if playlist_id: |