1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-09 21:07:18 +08:00

add test case

This commit is contained in:
Suprit 2019-08-20 21:54:34 -04:00
parent 1d3a358c22
commit 7accab98e0

View File

@ -36,8 +36,13 @@ 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
def _decrypt(self, encrypted_data, video_id):
return self._parse_json(compat_b64decode((