浏览代码

[channel9] Remove expired comment and sort imports

Sergey M․ 8 年之前
父节点
当前提交
bea7af6947
共有 1 个文件被更改,包括 2 次插入9 次删除
  1. 2 9
      youtube_dl/extractor/channel9.py

+ 2 - 9
youtube_dl/extractor/channel9.py

@@ -4,23 +4,16 @@ import re
 
 
 from .common import InfoExtractor
 from .common import InfoExtractor
 from ..utils import (
 from ..utils import (
+    clean_html,
     ExtractorError,
     ExtractorError,
-    unescapeHTML,
     int_or_none,
     int_or_none,
     parse_iso8601,
     parse_iso8601,
-    clean_html,
     qualities,
     qualities,
+    unescapeHTML,
 )
 )
 
 
 
 
 class Channel9IE(InfoExtractor):
 class Channel9IE(InfoExtractor):
-    '''
-    Common extractor for channel9.msdn.com.
-
-    The type of provided URL (video or playlist) is determined according to
-    meta Search.PageType from web page HTML rather than URL itself, as it is
-    not always possible to do.
-    '''
     IE_DESC = 'Channel 9'
     IE_DESC = 'Channel 9'
     IE_NAME = 'channel9'
     IE_NAME = 'channel9'
     _VALID_URL = r'https?://(?:www\.)?(?:channel9\.msdn\.com|s\.ch9\.ms)/(?P<contentpath>.+?)(?P<rss>/RSS)?/?(?:[?#&]|$)'
     _VALID_URL = r'https?://(?:www\.)?(?:channel9\.msdn\.com|s\.ch9\.ms)/(?P<contentpath>.+?)(?P<rss>/RSS)?/?(?:[?#&]|$)'