From: Sergey M․ Date: Mon, 21 Sep 2015 15:28:02 +0000 (+0600) Subject: [youtube:history] Enable exractor X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c6aa838b51484ad3d036db21ba4e9e834720a693;p=youtube-dl [youtube:history] Enable exractor --- 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,