1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 03:32:05 +00:00

[motherless:group] Capture leading slash of video path

This commit is contained in:
Sergey M․ 2018-01-07 00:02:41 +07:00
parent f12628f934
commit a133eb7764
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View 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))
]