projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0add33a
)
[einthusan] Add support for einthusan.ca (#22171)
author
supritkumar
<suprit7@gmail.com>
Wed, 21 Aug 2019 02:52:59 +0000
(22:52 -0400)
committer
Sergey M
<dstftw@gmail.com>
Wed, 21 Aug 2019 02:52:59 +0000
(09:52 +0700)
youtube_dl/extractor/einthusan.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/einthusan.py
b/youtube_dl/extractor/einthusan.py
index 1fb00c9b077415b0ea67902df57355f35ef10651..4e0f8bc819c70730a476ca31cd4320cecdc25b3d 100644
(file)
--- a/
youtube_dl/extractor/einthusan.py
+++ b/
youtube_dl/extractor/einthusan.py
@@
-19,7
+19,7
@@
from ..utils import (
class EinthusanIE(InfoExtractor):
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',
_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.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
}]
# reversed from jsoncrypto.prototype.decrypt() in einthusan-PGMovieWatcher.js