Restore 2.5 compat by activating with_statement future
[youtube-dl] / youtube_dl / __init__.py
index d4774e148b9f2b1cfa15632c42f48f324e8c67b3..ad9a06c55a0cdf1279655e2a8be382cd6fe010d2 100644 (file)
@@ -1,6 +1,8 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+from __future__ import with_statement
+
 __authors__  = (
        'Ricardo Garcia Gonzalez',
        'Danny Colligan',
@@ -328,6 +330,7 @@ def gen_extractors():
        """
        return [
                YoutubePlaylistIE(),
+               YoutubeChannelIE(),
                YoutubeUserIE(),
                YoutubeSearchIE(),
                YoutubeIE(),