diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-01-07 00:55:39 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-01-07 00:57:48 +0700 |
commit | b7acc83550598b9facf1b31d3d9a1c2823b29cbe (patch) | |
tree | 2dfac2ea95d074888b53b4330967a0c48bfb32f8 | |
parent | de0359c0af3667605464212e66ba4048b6ba093b (diff) |
[utils] Add language codes replaced in 1989 revision of ISO 639 to ISO639Utils (closes #18765)
-rw-r--r-- | youtube_dl/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 62e769fd5..64b524d2f 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -2968,6 +2968,7 @@ class ISO639Utils(object): 'gv': 'glv', 'ha': 'hau', 'he': 'heb', + 'iw': 'heb', # Replaced by he in 1989 revision 'hi': 'hin', 'ho': 'hmo', 'hr': 'hrv', @@ -2977,6 +2978,7 @@ class ISO639Utils(object): 'hz': 'her', 'ia': 'ina', 'id': 'ind', + 'in': 'ind', # Replaced by id in 1989 revision 'ie': 'ile', 'ig': 'ibo', 'ii': 'iii', @@ -3091,6 +3093,7 @@ class ISO639Utils(object): 'wo': 'wol', 'xh': 'xho', 'yi': 'yid', + 'ji': 'yid', # Replaced by he yi 1989 revision 'yo': 'yor', 'za': 'zha', 'zh': 'zho', |