aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/lecture2go.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/lecture2go.py')
-rw-r--r--youtube_dl/extractor/lecture2go.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/lecture2go.py b/youtube_dl/extractor/lecture2go.py
index a2f9d5c54..40a3d2346 100644
--- a/youtube_dl/extractor/lecture2go.py
+++ b/youtube_dl/extractor/lecture2go.py
@@ -45,7 +45,8 @@ class Lecture2GoIE(InfoExtractor):
self._sort_formats(formats)
- creator = self._html_search_regex(r'<div[^>]+id="description">([^<]+)</div>', webpage, 'creator')
+ creator = self._html_search_regex(
+ r'<div[^>]+id="description">([^<]+)</div>', webpage, 'creator', fatal=False)
duration = parse_duration(self._html_search_regex(
r'Duration:\s*</em>\s*<em[^>]*>([^<]+)</em>', webpage, 'duration', fatal=False))
view_count = int_or_none(self._html_search_regex(