1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 04:02:51 +08:00

[metaebene] simplify a regex

This commit is contained in:
Kay B 2018-03-15 00:55:50 +01:00
parent 2475076b2a
commit adc3a02963

View File

@ -178,7 +178,7 @@ class MetaebeneIE(InfoExtractor):
# The "Die Gesellschafter" series is discontinued and the description can't be extracted easily.
# This is a workaround to suppress the warning and thus make it testable and avoid bug reports.
if re.match(r'https?://(?:www\.)?diegesellschafter.metaebene.me/(?P<id>[^-]+)[^\s]*', url):
if re.match(r'https?://(?:www\.)?diegesellschafter.metaebene.me[^\s]*', url):
description = None
else:
description = self._og_search_description(webpage)