-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enma Import Error #55
Comments
Thanks for reporting this bug. I'm going to fix it. |
ah ok thanks . can you provide me a example please? |
Yeah, Sure. from enma import Enma
from enma.infra.adapters.repositories.nhentai import CloudFlareConfig, NHentai
enma = Enma()
enma.source_manager.set_source('nhentai') # or enma.source_manager.set_source('manganato')
if enma.source_manager.source:
enma.source_manager.source.set_config(config=CloudFlareConfig(cf_clearance='',
user_agent=''))
manga = enma.get(identifier='475219')
if manga:
print(manga) |
New version is now available pip install Enma==2.2.0 |
thanks |
Traceback (most recent call last): |
ah k |
many thanks to you it finally works. any way to get page number thourgh this? |
ImportError: cannot import name 'DefaultAvailableSources' from 'enma' (C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\enma_init_.py)
I'm on python 3.10.6 and windows
The text was updated successfully, but these errors were encountered: