diff options
author | Sergey M․ <[email protected]> | 2017-03-23 23:58:12 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2017-03-23 23:58:12 +0700 |
commit | bea7af694748f3d731ab4340539251f2daf5cc10 (patch) | |
tree | 1a2031615555037f7e1cfa1a27c9446731a2d5df | |
parent | a5d783f525a8d4b62777434607c7f1efc5c34ece (diff) | |
download | youtube-dl-bea7af694748f3d731ab4340539251f2daf5cc10.tar.gz youtube-dl-bea7af694748f3d731ab4340539251f2daf5cc10.zip |
[channel9] Remove expired comment and sort imports
-rw-r--r-- | youtube_dl/extractor/channel9.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/youtube_dl/extractor/channel9.py b/youtube_dl/extractor/channel9.py index 717e4eb3b..e92894246 100644 --- a/youtube_dl/extractor/channel9.py +++ b/youtube_dl/extractor/channel9.py @@ -4,23 +4,16 @@ import re from .common import InfoExtractor from ..utils import ( + clean_html, ExtractorError, - unescapeHTML, int_or_none, parse_iso8601, - clean_html, qualities, + unescapeHTML, ) 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_NAME = 'channel9' _VALID_URL = r'https?://(?:www\.)?(?:channel9\.msdn\.com|s\.ch9\.ms)/(?P<contentpath>.+?)(?P<rss>/RSS)?/?(?:[?#&]|$)' |