mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:20:23 +00:00
[motherless:group] Capture leading slash of video path
This commit is contained in:
parent
f12628f934
commit
a133eb7764
@ -153,7 +153,7 @@ def _extract_entries(self, webpage, base):
|
|||||||
compat_urlparse.urljoin(base, video_path),
|
compat_urlparse.urljoin(base, video_path),
|
||||||
MotherlessIE.ie_key(), video_title=title)
|
MotherlessIE.ie_key(), video_title=title)
|
||||||
for video_path, title in orderedSet(re.findall(
|
for video_path, title in orderedSet(re.findall(
|
||||||
r'href="/([^"]+)"[^>]+>\s+<img[^>]+alt="[^-]+-\s([^"]+)"',
|
r'href="(/[^"]+)"[^>]+>\s+<img[^>]+alt="[^-]+-\s([^"]+)"',
|
||||||
webpage))
|
webpage))
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user