mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 00:56:07 +08:00
[metaebene] simplify a regex
This commit is contained in:
parent
2475076b2a
commit
adc3a02963
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user