Add --list-extractor-descriptions (human-readable list of IEs)

This commit is contained in:
Philipp Hagemeister 2013-07-01 18:52:19 +02:00
parent 2db67bc0f4
commit 0f81866329
9 changed files with 34 additions and 22 deletions

View file

@ -11,7 +11,7 @@ from ..utils import (
)
class YahooIE(InfoExtractor):
"""Information extractor for screen.yahoo.com."""
IE_DESC = u'Yahoo screen'
_VALID_URL = r'http://screen\.yahoo\.com/.*?-(?P<id>\d*?)\.html'
_TEST = {
u'url': u'http://screen.yahoo.com/julian-smith-travis-legg-watch-214727115.html',
@ -88,8 +88,7 @@ class YahooIE(InfoExtractor):
return info_dict
class YahooSearchIE(SearchInfoExtractor):
"""Information Extractor for Yahoo! Video search queries."""
IE_DESC = u'Yahoo screen search'
_MAX_RESULTS = 1000
IE_NAME = u'screen.yahoo:search'
_SEARCH_KEY = 'yvsearch'