]> git.lizzy.rs Git - nhentai.git/blobdiff - nhentai/constant.py
fix bug of proxy while downloading doujinshi
[nhentai.git] / nhentai / constant.py
index 39c6f3e616b67f4cf878d348b971f954b8323a6a..10feab8e0eca695e30ce122f54d667a612cd9baa 100644 (file)
@@ -29,10 +29,16 @@ NHENTAI_HOME = os.path.join(os.getenv('HOME', tempfile.gettempdir()), '.nhentai'
 NHENTAI_HISTORY = os.path.join(NHENTAI_HOME, 'history.sqlite3')
 NHENTAI_CONFIG_FILE = os.path.join(NHENTAI_HOME, 'config.json')
 
-
 CONFIG = {
     'proxy': {'http': '', 'https': ''},
     'cookie': '',
     'language': '',
     'template': '',
 }
+
+LANGUAGEISO ={
+    'english' : 'en',
+    'chinese' : 'zh',
+    'japanese' : 'ja',
+    'translated' : 'translated'
+}