mirror of https://github.com/yt-dlp/yt-dlp.git
[youtube] Relax URL expansion in description
This commit is contained in:
parent
de3c7fe0d4
commit
525cedb971
|
@ -1332,7 +1332,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
(?:[a-zA-Z-]+="[^"]*"\s+)*?
|
||||
(?:title|href)="([^"]+)"\s+
|
||||
(?:[a-zA-Z-]+="[^"]*"\s+)*?
|
||||
class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)"[^>]*>
|
||||
class="[^"]*"[^>]*>
|
||||
[^<]+\.{3}\s*
|
||||
</a>
|
||||
''', r'\1', video_description)
|
||||
|
|
Loading…
Reference in New Issue