[motherless:group] Capture leading slash of video path
authorSergey M․ <dstftw@gmail.com>
Sat, 6 Jan 2018 17:02:41 +0000 (00:02 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 6 Jan 2018 17:02:41 +0000 (00:02 +0700)
youtube_dl/extractor/motherless.py

index 90ed91ba6353e12964882aefb65236c91942bafd..4adac691c09f49241897a63b26774e86c3a019bf 100644 (file)
@@ -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+<img[^>]+alt="[^-]+-\s([^"]+)"',
+                r'href="(/[^"]+)"[^>]+>\s+<img[^>]+alt="[^-]+-\s([^"]+)"',
                 webpage))
         ]