]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Use the 'extractor_key' field for the download archive file
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 25 Nov 2013 21:57:15 +0000 (22:57 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 25 Nov 2013 21:57:15 +0000 (22:57 +0100)
It has the same value as the ie_key.

youtube_dl/YoutubeDL.py

index e23042c485f4232f24ef3af8d04698571a1493e9..e86e8a0907d39c061fb5f8a1def6487182f05056 100644 (file)
@@ -837,7 +837,7 @@ class YoutubeDL(object):
     def _make_archive_id(self, info_dict):
         # Future-proof against any change in case
         # and backwards compatibility with prior versions
-        extractor = info_dict.get('extractor')
+        extractor = info_dict.get('extractor_key')
         if extractor is None:
             if 'id' in info_dict:
                 extractor = info_dict.get('ie_key')  # key in a playlist