Slyyxp / rsack

Ransack「rsack」is a lossless Korean music downloader
MIT License
84 stars 12 forks source link

bugs error in latest version #76

Closed honeykkk closed 1 year ago

honeykkk commented 1 year ago

C:\Users\honeysaerom\Desktop\rsack-master>rsack -u "https://music.bugs.co.kr/album/4082713?wl_ref=M_contents_01_04" 2022-12-29 21:17:23.736 | INFO | rsack.clients.bugs:auth:29 - Login Successful : 모바일 무제한 듣기(매월) 2022-12-29 21:17:23.751 | INFO | rsack.bugs:init:25 - Threads: 2 2022-12-29 21:17:23.798 | INFO | rsack.bugs:_album:60 - Album: 해요해요 2022-12-29 21:17:23.814 | ERROR | rsack.bugs:_album:65 - An error has been caught in function '_album', process 'MainProcess' (9416), thread 'MainThread' (2656): Traceback (most recent call last):

File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Scripts\rsack-script.py", line 33, in sys.exit(load_entry_point('rsack==0.7.25', 'console_scripts', 'rsack')()) │ │ └ <function importlib_load_entry_point at 0x000001CB532F0720> │ └ └ <module 'sys' (built-in)>

File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\main.py", line 27, in main File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\bugs.py", line 29, in init

File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\bugs.py", line 65, in _album File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\bugs.py", line 80, in _album_path

KeyError: 'append_date' Traceback (most recent call last): File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Scripts\rsack-script.py", line 33, in sys.exit(load_entry_point('rsack==0.7.25', 'console_scripts', 'rsack')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\main.py", line 27, in main File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\bugs.py", line 29, in init File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\bugs.py", line 66, in _album File "C:\Users\honeysaerom\AppData\Local\Programs\Python\Python311\Lib\site-packages\rsack-0.7.25-py3.11.egg\rsack\bugs.py", line 209, in _download_cover FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\honeysaerom\Desktop\mp3\수진(Sujin)\수진(Sujin) - 해요해요\cover.jpg'

Slyyxp commented 1 year ago

I'm unable to replicate this, works as expected on my end.

Can you provide the [Bugs] section of your configuration? WITHOUT leaking your username and password.

honeykkk commented 1 year ago

I'm unable to replicate this, works as expected on my end.

Can you provide the [Bugs] section of your configuration? WITHOUT leaking your username and password.

it means rsack_settings.ini?

honeykkk commented 1 year ago

I'm unable to replicate this, works as expected on my end. Can you provide the [Bugs] section of your configuration? WITHOUT leaking your username and password.

it means rsack_settings.ini?

[Bugs]

threads = 2 path = C:\Users\honeysaerom\Desktop\mp3 artist_folders = Y lyrics = T contributions = N cover_size = original

[Genie]

threads = 2 path = C:\Users\honeysaerom\Desktop\mp3 artist_folders = Y timed_lyrics = Y contributions = N

[KKBox] email = email@protonmail.com password = mypassword threads = 2 path = C:\Music\KKBox

genie work well. bugs doesn't work.

Slyyxp commented 1 year ago

Configuration and album pathing is overhauled in latest release, you can re-open if persists.

honeykkk commented 1 year ago

Configuration and album pathing is overhauled in latest release, you can re-open if persists.

https://music.bugs.co.kr/album/4871?wl_ref=list_ab_01_likeab did you available this one?

/* AttributeError: 'Download' object has no attribute 'album_path'. Did you mean: '_album_path'? An error has been caught in function '_album', process 'MainProcess' (2828), thread 'MainThread' (13688): TypeError: can only concatenate str (not "NoneType") to str

Slyyxp commented 1 year ago

Caused by 'Label' mising within Bugs metadata response. I have removed the Label and Agency templates, this should now work with latest version.