Browse Source

[motherless:group] Capture leading slash of video path

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
a133eb7764
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/motherless.py

+ 1
- 1
youtube_dl/extractor/motherless.py 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))
]


Loading…
Cancel
Save