diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-01-22 03:49:16 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-01-22 03:49:17 +0100 |
commit | 780ee4e501b1234e51c3530a93930962bea42f34 (patch) | |
tree | b1bf393022e79c8d264ffc07b664e2114eace81c /youtube_dl/extractor/mtv.py | |
parent | d7b51547c0220b28d6914f4721a7d0ff11d8d98e (diff) |
[comedycentral] Adapt testcase
In contrast to other sites, ComedyCentral seems to understand how to sensibly use MTV IE, but the additional text shouldn't hurt.
Diffstat (limited to 'youtube_dl/extractor/mtv.py')
-rw-r--r-- | youtube_dl/extractor/mtv.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py index 51f91ef1d..ceb3aa37e 100644 --- a/youtube_dl/extractor/mtv.py +++ b/youtube_dl/extractor/mtv.py @@ -89,6 +89,7 @@ class MTVServicesInfoExtractor(InfoExtractor): title = title_el.text if title is None: raise ExtractorError('Could not find video title') + title = title.strip() return { 'title': title, |