]> jfr.im git - yt-dlp.git/blobdiff - youtube_dl/extractor/youtube.py
Change the ie_name of YoutubeSearchDateIE
[yt-dlp.git] / youtube_dl / extractor / youtube.py
index 765b4a9bf769926350350e83d680d35c1e4d2775..66f5af0009b490b1e1acbef2162061cada582563 100644 (file)
@@ -1765,6 +1765,7 @@ def _get_n_results(self, query, n):
         return self.playlist_result(videos, query)
 
 class YoutubeSearchDateIE(YoutubeSearchIE):
+    IE_NAME = YoutubeSearchIE.IE_NAME + ':date'
     _API_URL = 'https://gdata.youtube.com/feeds/api/videos?q=%s&start-index=%i&max-results=50&v=2&alt=jsonc&orderby=published'
     _SEARCH_KEY = 'ytsearchdate'
     IE_DESC = u'YouTube.com searches, newest videos first'