summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-12-03 13:55:25 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2013-12-03 13:55:25 +0100
commitcb7fb54600a96bcced33020b925f2cfc9428bd4c (patch)
tree4664241ea2fb9dc19cde242c8c04a8a2e767ecae
parentcf6758d2040816033ec47afe9c1d497e4c2abd4d (diff)
downloadyoutube-dl-cb7fb54600a96bcced33020b925f2cfc9428bd4c.tar.gz
youtube-dl-cb7fb54600a96bcced33020b925f2cfc9428bd4c.zip
Change the ie_name of YoutubeSearchDateIE
It produced a duplicate entry when listing the extractors with '--list-extractors' and generates noise in the commit log when generating the supported sites webpage (like in 09f355f73bf1657ecacfd05eda21d2c4bf1cc4a8)
-rw-r--r--youtube_dl/extractor/youtube.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 765b4a9bf..66f5af000 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1765,6 +1765,7 @@ class YoutubeSearchIE(SearchInfoExtractor):
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'