From 89258b840bdc38113e775d17212686008daadb1f Mon Sep 17 00:00:00 2001 From: Vijay Singh Date: Tue, 10 Jan 2017 09:00:26 +0530 Subject: [PATCH] Basic Regex! Fixed --- youtube_dl/extractor/openload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py index acf7e6ff5..f3e47df6c 100644 --- a/youtube_dl/extractor/openload.py +++ b/youtube_dl/extractor/openload.py @@ -64,7 +64,7 @@ class OpenloadIE(InfoExtractor): raise ExtractorError('File not found', expected=True) ol_id = self._search_regex( - ']+id="[^"]*"[^>]*>([^<]+)', + ']+id="[^"]+"[^>]*>([^<]+)', webpage, 'openload ID') first_three_chars = int(float(ol_id[0:][:3]))