diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-01-07 00:02:41 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-01-07 00:02:41 +0700 |
commit | a133eb7764594b830cb975e3925972214e932704 (patch) | |
tree | 26b99f183fdd6d7aade7547f49dea406656a8665 | |
parent | f12628f934ff50cc8e6441c4e64fe61019ebae5c (diff) | |
download | youtube-dl-a133eb7764594b830cb975e3925972214e932704.zip youtube-dl-a133eb7764594b830cb975e3925972214e932704.tar.gz youtube-dl-a133eb7764594b830cb975e3925972214e932704.tar.bz2 |
[motherless:group] Capture leading slash of video path
-rw-r--r-- | youtube_dl/extractor/motherless.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/motherless.py b/youtube_dl/extractor/motherless.py index 90ed91b..4adac69 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)) ] |