aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-10-13 21:18:30 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-10-13 21:18:30 +0200
commit506e261d2073d8c00d5b43d272e8173cb0d63728 (patch)
tree152a69183f185fdf06cb643a0879b3cbf662e2e3 /youtube_dl/extractor
parentb30c4992a93d411f4f89faf2af153fc580138a90 (diff)
[channel9] strip 'session_day'
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/channel9.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/channel9.py b/youtube_dl/extractor/channel9.py
index 79fd0a30e..1ce004932 100644
--- a/youtube_dl/extractor/channel9.py
+++ b/youtube_dl/extractor/channel9.py
@@ -158,7 +158,7 @@ class Channel9IE(InfoExtractor):
def _extract_session_day(self, html):
m = re.search(r'<li class="day">\s*<a href="/Events/[^"]+">(?P<day>[^<]+)</a>\s*</li>', html)
- return m.group('day') if m is not None else None
+ return m.group('day').strip() if m is not None else None
def _extract_session_room(self, html):
m = re.search(r'<li class="room">\s*(?P<room>.+?)\s*</li>', html)