[youtube:history] Enable exractor
authorSergey M․ <dstftw@gmail.com>
Mon, 21 Sep 2015 15:28:02 +0000 (21:28 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 21 Sep 2015 15:28:02 +0000 (21:28 +0600)
test/test_all_urls.py
youtube_dl/extractor/__init__.py

index a929afd15c9474d7854eb400dddaaa16e59a0ad8..a9db42b300864180c10dca730f772f7f5a26aad8 100644 (file)
@@ -99,7 +99,7 @@ class TestAllURLsMatching(unittest.TestCase):
     def test_keywords(self):
         self.assertMatch(':ytsubs', ['youtube:subscriptions'])
         self.assertMatch(':ytsubscriptions', ['youtube:subscriptions'])
-        self.assertMatch(':ythistory', ['youtube:history'])
+        self.assertMatch(':ythistory', ['youtube:history'])
         self.assertMatch(':thedailyshow', ['ComedyCentralShows'])
         self.assertMatch(':tds', ['ComedyCentralShows'])
 
index 030c00790b7912bfef4c64df734bd351b4025d0c..c16e9e3d2bfdec3b27b118b9bff031300ade5ed5 100644 (file)
@@ -808,9 +808,7 @@ from .youtube import (
     YoutubeIE,
     YoutubeChannelIE,
     YoutubeFavouritesIE,
-    # disabled because it can wipe the watch history (see #6893)
-    # remember to uncomment test in test/test_all_urls when it's fixed
-    #YoutubeHistoryIE,
+    YoutubeHistoryIE,
     YoutubePlaylistIE,
     YoutubeRecommendedIE,
     YoutubeSearchDateIE,