From 7accab98e093fc23722c1b70912f103f66bd7db4 Mon Sep 17 00:00:00 2001 From: Suprit Date: Tue, 20 Aug 2019 21:54:34 -0400 Subject: [PATCH] add test case --- youtube_dl/extractor/einthusan.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/youtube_dl/extractor/einthusan.py b/youtube_dl/extractor/einthusan.py index 87ec10270..c06a81184 100644 --- a/youtube_dl/extractor/einthusan.py +++ b/youtube_dl/extractor/einthusan.py @@ -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((