aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-07 11:04:27 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-07 11:04:27 +0100
commit42e4fcf23aace61ec6bf486d79ed0b263f40b73b (patch)
treef879843d580a5b549bdf4fbea805532ab76c9032 /youtube_dl/extractor
parent9c63128668858c354994d90cba812ffa4c30bdf8 (diff)
[generic] Fix regexes
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/generic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index c1f393e39..70001f87d 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -303,12 +303,12 @@ class GenericIE(InfoExtractor):
return OoyalaIE._build_url_result(mobj.group(1))
# Look for Aparat videos
- mobj = re.search(r'<iframe src="(http://www.aparat.com/video/[^"]+)"', webpage)
+ mobj = re.search(r'<iframe src="(http://www\.aparat\.com/video/[^"]+)"', webpage)
if mobj is not None:
return self.url_result(mobj.group(1), 'Aparat')
# Look for MPORA videos
- mobj = re.search(r'<iframe .*?src="(http://mpora.com/videos/[^"]+)"', webpage)
+ mobj = re.search(r'<iframe .*?src="(http://mpora\.com/videos/[^"]+)"', webpage)
if mobj is not None:
return self.url_result(mobj.group(1), 'Mpora')