diff --git a/download.py b/download.py index d0de721..4294a61 100755 --- a/download.py +++ b/download.py @@ -11,11 +11,11 @@ class Downloader: def __init__(self, url, outdir): - m = re.match(r'^.*/playback/presentation/2\.0/playback.html\?meetingId=(\S+)$', url) + m = re.match(r'^.*/playback/presentation/2\.0/playback\.html\?meetingId=(\S+)$', url) if m is not None: id = m.group(1) else: - m = re.match(r'.*/playback/presentation/2.3/(\S+)$', url) + m = re.match(r'^.*/playback/presentation/2\.3/(\S+)$', url) if m is not None: id = m.group(1) else: