diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-21 21:28:02 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-21 21:28:02 +0600 |
commit | c6aa838b51484ad3d036db21ba4e9e834720a693 (patch) | |
tree | 1e26dc576ffee5a4b7329bf35bcc58331cbbc0e9 | |
parent | 9f5e8d16b3c7a1a2731cbab9661a920fbe04e09f (diff) |
[youtube:history] Enable exractor
-rw-r--r-- | test/test_all_urls.py | 2 | ||||
-rw-r--r-- | youtube_dl/extractor/__init__.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/test_all_urls.py b/test/test_all_urls.py index a929afd15..a9db42b30 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 030c00790..c16e9e3d2 100644 --- a/youtube_dl/extractor/__init__.py +++ b/youtube_dl/extractor/__init__.py @@ -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, |