summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-09-20 12:23:13 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-09-20 12:23:13 +0200
commitf005f96ea594a82969885ecd124b094c7e09949a (patch)
tree424ba28b7707cf2baa860e5d1a5a5a44f78cd4c5
parent5e39123b3b6fd740d133fd45824b49b4bc674fa7 (diff)
downloadyoutube-dl-f005f96ea594a82969885ecd124b094c7e09949a.tar.gz
youtube-dl-f005f96ea594a82969885ecd124b094c7e09949a.tar.xz
youtube-dl-f005f96ea594a82969885ecd124b094c7e09949a.zip
[youtube:history] Explain why it has disabled and skip test
-rw-r--r--test/test_all_urls.py2
-rw-r--r--youtube_dl/extractor/__init__.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/test_all_urls.py b/test/test_all_urls.py
index a9db42b30..a929afd15 100644
--- a/test/test_all_urls.py
+++ b/test/test_all_urls.py
@@ -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'])
 
diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py
index b93156232..2529d8657 100644
--- a/youtube_dl/extractor/__init__.py
+++ b/youtube_dl/extractor/__init__.py
@@ -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,