TMCooper / Anime-Sama-Downloader

GNU General Public License v3.0
1 stars 0 forks source link

Yui (fixed) #1

Open MysticSaba-max opened 7 hours ago

MysticSaba-max commented 7 hours ago

Available languages: EN, FR What is your language? : FR Pour quiter le programme tapper Q Quel est le lien de l'animer que vous souhaiter telechargee ? : https://anime-sama.fr/catalogue/tensei-shitara-slime-datta-ken/saison3/vf/ Traceback (most recent call last): File "c:\Users\Downloads\Anime-Sama-Downloader-main\Anime_Sama_Downloader.py", line 68, in main() File "c:\Users\Downloads\Anime-Sama-Downloader-main\Anime_Sama_Downloader.py", line 41, in main url_ru = Yui.construct(url_anime_origin, serv_file) ^^^ NameError: name 'Yui' is not defined

MysticSaba-max commented 6 hours ago

import requests import json from function import Yui, Cardinal

TMCooper commented 4 hours ago

normally there is no need to do this the from function.init import * have to take care of the imported

small edit when I tested in the same condition as you the error for my by was not made you may have retouched a line at the start of the program or deleted a file in the function folder