diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-11-03 15:56:55 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-11-03 15:56:55 +0100 |
commit | 3633d77c0f1cc46cefbfafdefd97f8570bab91d1 (patch) | |
tree | bb120b663de760022d113db98255b0eb35911716 /youtube_dl/extractor/youtube.py | |
parent | 165e179764e7d276d5e6ed79a8e63b63852cdd3e (diff) | |
parent | a3dd924871a6fa01d84cadf0a6f60ef622189f09 (diff) | |
download | youtube-dl-3633d77c0f1cc46cefbfafdefd97f8570bab91d1.zip youtube-dl-3633d77c0f1cc46cefbfafdefd97f8570bab91d1.tar.gz youtube-dl-3633d77c0f1cc46cefbfafdefd97f8570bab91d1.tar.bz2 |
Merge remote-tracking branch 'CBGoodBuddy/ytsearchtime'
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 6ddd6ef..14e8f59 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1732,6 +1732,9 @@ class YoutubeSearchIE(SearchInfoExtractor): videos = [self.url_result('http://www.youtube.com/watch?v=%s' % id, 'Youtube') for id in video_ids] return self.playlist_result(videos, query) +class YoutubeSearchDateIE(YoutubeSearchIE): + _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' class YoutubeShowIE(InfoExtractor): IE_DESC = u'YouTube.com (multi-season) shows' |