Browse Source

Add another great example for the --extractor-descriptions output

master
Philipp Hagemeister 10 years ago
parent
commit
53eb217661
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/__init__.py

2
youtube_dl/__init__.py

@ -633,7 +633,7 @@ def _real_main(argv=None):
if desc is False:
continue
if hasattr(ie, 'SEARCH_KEY'):
_SEARCHES = (u'cute kittens', u'slithering pythons', u'falling cat', u'angry poodle', u'purple fish', u'running tortoise')
_SEARCHES = (u'cute kittens', u'slithering pythons', u'falling cat', u'angry poodle', u'purple fish', u'running tortoise', u'sleeping bunny')
_COUNTS = (u'', u'5', u'10', u'all')
desc += u' (Example: "%s%s:%s" )' % (ie.SEARCH_KEY, random.choice(_COUNTS), random.choice(_SEARCHES))
compat_print(desc)

Loading…
Cancel
Save