diff options
author | N1k145 <N1k145@users.noreply.github.com> | 2016-06-09 12:13:15 +0200 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-06-09 20:46:54 +0700 |
commit | 21efee5f8bc8daf0cbb5fc3408a1fc5b9d5eadcb (patch) | |
tree | 0e6c81822b4353f805f6b0d7e7461ad1bf0e4e16 | |
parent | e2713d32f49f1bfa830cc755a96691c39da88290 (diff) |
[openload] Relax _VALID_URL
[openload] added to _TESTS, removed escape
-rw-r--r-- | youtube_dl/extractor/openload.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py index 1b57462b5..6415b8fdc 100644 --- a/youtube_dl/extractor/openload.py +++ b/youtube_dl/extractor/openload.py @@ -14,7 +14,7 @@ from ..utils import ( class OpenloadIE(InfoExtractor): - _VALID_URL = r'https://openload.(?:co|io)/(?:f|embed)/(?P<id>[a-zA-Z0-9-]+)' + _VALID_URL = r'https://openload.(?:co|io)/(?:f|embed)/(?P<id>[a-zA-Z0-9-_]+)' _TESTS = [{ 'url': 'https://openload.co/f/kUEfGclsU9o', @@ -32,6 +32,9 @@ class OpenloadIE(InfoExtractor): 'url': 'https://openload.io/f/ZAn6oz-VZGE/', 'only_matching': True, }, { + 'url': 'https://openload.co/f/_-ztPaZtMhM/', + 'only_matching': True, + }, { # unavailable via https://openload.co/f/Sxz5sADo82g/, different layout # for title and ext 'url': 'https://openload.co/embed/Sxz5sADo82g/', |