aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2018-01-07 00:02:41 +0700
committerSergey M․ <[email protected]>2018-01-07 00:02:41 +0700
commita133eb7764594b830cb975e3925972214e932704 (patch)
tree26b99f183fdd6d7aade7547f49dea406656a8665
parentf12628f934ff50cc8e6441c4e64fe61019ebae5c (diff)
downloadyoutube-dl-a133eb7764594b830cb975e3925972214e932704.tar.gz
youtube-dl-a133eb7764594b830cb975e3925972214e932704.zip
[motherless:group] Capture leading slash of video path
-rw-r--r--youtube_dl/extractor/motherless.py2
1 files changed, 1 insertions, 1 deletions
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+<img[^>]+alt="[^-]+-\s([^"]+)"',
+ r'href="(/[^"]+)"[^>]+>\s+<img[^>]+alt="[^-]+-\s([^"]+)"',
webpage))
]