Browse Source

[ndr] Improve video url regex (fixes #4140)

totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
a6dae6c09c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/ndr.py

+ 1
- 1
youtube_dl/extractor/ndr.py View File

@ -67,7 +67,7 @@ class NDRIE(InfoExtractor):
thumbnail = None
video_url = re.search(r'''3: \{src:'(?P<video>.+?)\.hi\.mp4', type:"video/mp4"},''', page)
video_url = re.search(r'''3: \{src:'(?P<video>.+?)\.(lo|hi|hq)\.mp4', type:"video/mp4"},''', page)
if video_url:
thumbnails = re.findall(r'''\d+: \{src: "([^"]+)"(?: \|\| '[^']+')?, quality: '([^']+)'}''', page)
if thumbnails:


Loading…
Cancel
Save