]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
In the supported sites page, sort the extractors in case insensitive
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 11 Sep 2013 10:04:27 +0000 (12:04 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 11 Sep 2013 10:04:27 +0000 (12:04 +0200)
devscripts/gh-pages/update-sites.py

index fa4bb2beb1f8e56f9272a82aadaf89bb59344758..33f242480e7c967ec0ca89fe57b5392dda0a524f 100755 (executable)
@@ -14,7 +14,7 @@ def main():
         template = tmplf.read()
 
     ie_htmls = []
-    for ie in sorted(youtube_dl.gen_extractors(), key=lambda i: i.IE_NAME):
+    for ie in sorted(youtube_dl.gen_extractors(), key=lambda i: i.IE_NAME.lower()):
         ie_html = '<b>{}</b>'.format(ie.IE_NAME)
         try:
             ie_html += ': {}'.format(ie.IE_DESC)