aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-10-09 23:50:53 +0700
committerSergey M․ <dstftw@gmail.com>2017-10-09 23:50:53 +0700
commit197224b7a4e37a6581bf1a0da18d0f67ea61a476 (patch)
treec2cd8cac66667b65610ca7dc279d0fe98c87ae50 /youtube_dl/extractor/generic.py
parent89923316210f8e17bb1a085278940e1c56fcff48 (diff)
downloadyoutube-dl-197224b7a4e37a6581bf1a0da18d0f67ea61a476.tar.xz
Fix some regexes
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 1721a3dbd..68b633839 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -2206,7 +2206,7 @@ class GenericIE(InfoExtractor):
# And then there are the jokers who advertise that they use RTA,
# but actually don't.
AGE_LIMIT_MARKERS = [
- r'Proudly Labeled <a href="http://www.rtalabel.org/" title="Restricted to Adults">RTA</a>',
+ r'Proudly Labeled <a href="http://www\.rtalabel\.org/" title="Restricted to Adults">RTA</a>',
]
if any(re.search(marker, webpage) for marker in AGE_LIMIT_MARKERS):
age_limit = 18