[youtube:history] Explain why it has disabled and skip test
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 20 Sep 2015 10:23:13 +0000 (12:23 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 20 Sep 2015 10:23:13 +0000 (12:23 +0200)
test/test_all_urls.py
youtube_dl/extractor/__init__.py

index a9db42b300864180c10dca730f772f7f5a26aad8..a929afd15c9474d7854eb400dddaaa16e59a0ad8 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 b93156232b65c71edefb76cf13b797f7e2378804..2529d8657046658ca279377979c4d132f58ce330 100644 (file)
@@ -808,6 +808,8 @@ from .youtube import (
     YoutubeIE,
     YoutubeChannelIE,
     YoutubeFavouritesIE,
+    # disabled because it can wipe the watch history (see #6893)
+    # remember to uncumment test in test/test_all_urls when it's fixed
     #YoutubeHistoryIE,
     YoutubePlaylistIE,
     YoutubeRecommendedIE,