diff options
author | supritkumar <suprit7@gmail.com> | 2019-08-20 22:52:59 -0400 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2019-08-21 09:52:59 +0700 |
commit | 393cc31d5eba52018b3de4dd76361d79cb1b5f49 (patch) | |
tree | f3d15cd18a54b3d684b5259c4f2a9116c2ea9543 /youtube_dl/extractor | |
parent | 0add33abcb9eb3ac93f7af312940b033b4ae4168 (diff) |
[einthusan] Add support for einthusan.ca (#22171)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/einthusan.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/einthusan.py b/youtube_dl/extractor/einthusan.py index 1fb00c9b0..4e0f8bc81 100644 --- a/youtube_dl/extractor/einthusan.py +++ b/youtube_dl/extractor/einthusan.py @@ -19,7 +19,7 @@ from ..utils import ( class EinthusanIE(InfoExtractor): - _VALID_URL = r'https?://(?P<host>einthusan\.(?:tv|com))/movie/watch/(?P<id>[^/?#&]+)' + _VALID_URL = r'https?://(?P<host>einthusan\.(?:tv|com|ca))/movie/watch/(?P<id>[^/?#&]+)' _TESTS = [{ 'url': 'https://einthusan.tv/movie/watch/9097/', 'md5': 'ff0f7f2065031b8a2cf13a933731c035', @@ -36,6 +36,9 @@ class EinthusanIE(InfoExtractor): }, { 'url': 'https://einthusan.com/movie/watch/9097/', 'only_matching': True, + }, { + 'url': 'https://einthusan.ca/movie/watch/4E9n/?lang=hindi', + 'only_matching': True, }] # reversed from jsoncrypto.prototype.decrypt() in einthusan-PGMovieWatcher.js |