From: Sergey M․ Date: Sat, 6 Jan 2018 17:02:41 +0000 (+0700) Subject: [motherless:group] Capture leading slash of video path X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a133eb7764594b830cb975e3925972214e932704;p=youtube-dl [motherless:group] Capture leading slash of video path --- diff --git a/youtube_dl/extractor/motherless.py b/youtube_dl/extractor/motherless.py index 90ed91ba6..4adac691c 100644 --- a/youtube_dl/extractor/motherless.py +++ b/youtube_dl/extractor/motherless.py @@ -153,7 +153,7 @@ class MotherlessGroupIE(InfoExtractor): compat_urlparse.urljoin(base, video_path), MotherlessIE.ie_key(), video_title=title) for video_path, title in orderedSet(re.findall( - r'href="/([^"]+)"[^>]+>\s+]+alt="[^-]+-\s([^"]+)"', + r'href="(/[^"]+)"[^>]+>\s+]+alt="[^-]+-\s([^"]+)"', webpage)) ]