mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-03 18:50:53 +01:00 
			
		
		
		
	fix bug
This commit is contained in:
		@@ -2,7 +2,12 @@
 | 
			
		||||
from __future__ import unicode_literals, print_function
 | 
			
		||||
import os
 | 
			
		||||
import tempfile
 | 
			
		||||
from nhentai.utils import urlparse
 | 
			
		||||
 | 
			
		||||
try:
 | 
			
		||||
    from urlparse import urlparse
 | 
			
		||||
except ImportError:
 | 
			
		||||
    from urllib.parse import urlparse
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
BASE_URL = os.getenv('NHENTAI', 'https://nhentai.net')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user