KorigamiK / kickassanime-downloader

A nice asynchronous anime downloader and task automater for kickassanime.
12 stars 4 forks source link

no such file config .json #2

Closed thaynos closed 3 years ago

thaynos commented 3 years ago

image

KorigamiK commented 3 years ago

You need to change the names of file in the Config folder. Rename them by removing .eg from their names. Adjust their contents according to you first before moving on.

Right not I haven't documented the steps in the Readme so I would advice you to fist check you This issue where I explain most of the installation steps.

KorigamiK commented 3 years ago

Also you should first run

pip install -r requirements.txt

Inside the downloaded folder.

thaynos commented 3 years ago

i did whatever u told but im getting this issue now image

thaynos commented 3 years ago

i dint understand the kaa thign yet but ik it ahs something to do with path variable im using a guest pc so i cant use path variable will it effect much?

KorigamiK commented 3 years ago

Hey, thanks for the bug report. It seems like they have one of their domains taken down. I have updated the program to force it to use the correct one. You will need to download the program again and repeat the steps.

I suggest you to not search the anime name directly, try to search the series name first like nanatsu and then select the anime number from the table.

You should also check out aiodownloader by changing the downloader in your .\Connfig\config.json to aiodownloader Tell me if it works.

KorigamiK commented 3 years ago

Also you can run

python cli.py nanatsu --opt -1 --ep 1 --custom_server 2

just to stream the anime you want. For this you need vlc or mpv in your path (you can search google for steps).

Change your ./Config/watch_config.json. For VLC you need:

{
...
"system": "nt",
...
}

For MPV you need:

{
...
"system": "MPV",
...
}

Run python cli.py --help to understand the commands

thaynos commented 3 years ago

image this issues comes up now i dont want to stream only download i did whatever u told me to do

KorigamiK commented 3 years ago

Ah, I see you've messed up the config file. You're missing a semicolon or comma somewhwere. The reason so that you can run git pull without modifying your config files. Copy and paste this to your config.json

{
    "WEBSITE_DOMAIN": ".rs",
    "priority": {
        "KICKASSANIMEV2": -3,
        "KICKASSANIMEX": -3,
        "MAGENTA02": -1,
        "MAGENTA13":-2,
        "BETA-SERVER": -1,
        "MOBILE-V2": -1,
        "HTML5": -1,
        "A-KICKASSANIME": -1,
        "KICKASSANIME1": -1,
        "BETASERVER3": 2
    },
    "max_subprocesses": 5,
    "not used downloader": "subprocess",
    "downloader": "aiodownloader",
    "not_used_servers":{
        "DR.HOFFMANN": -1,
        "THETA-ORIGINAL-V4": 0,
        "ORIGINAL-QUALITY-V2":0,
        "THETA-ORIGINAL": -1
    },
    "debug": true
}
thaynos commented 3 years ago

The reason so that you can run git pull without modifying your config files.

i dint understand what this means can you explain?

KorigamiK commented 3 years ago

I got it, I'll fix this later but in the meantime you can just leave the episode starting and ending blank (just press enter key when asked) and everything should work. You were missing a comma earlier

thaynos commented 3 years ago

oh ok lmao funny how a missing comma can make the script obsolete btw great job on this sorry i cant get anything right

KorigamiK commented 3 years ago

i dint understand what this means can you explain?

You are downloading the files manually for now right? If you were to get the repo using git

git clone https://github.com/KorigamiK/kickassanime-downloader

You can run git pull to fetch the latest changes automatically without needing to update the files manually.

oh ok lmao funny how a missing comma can make the script obsolete

Thats just the nature of json files.

Also I should mention that this is how the quality index works in config.json photo_2021-05-25_22-16-59 Adjust the numbers according to what quality you want. Although I now realize writing this in the readme would be better but, oh well.

thaynos commented 3 years ago

i have to do git pull in the directory? also where is that picture from? is it the gui? how do i get it? i want to install as 720p or 480p how do i do that?

thaynos commented 3 years ago

its stuck on this for the past 15 mins?? image edit- still shwing the same thing 30 mins later

thaynos commented 3 years ago

2 hours later......

KorigamiK commented 3 years ago

you should get 480p for now. You should check what location you have set in to_update.json for how much you have already downloaded. Don't tell me you didn't add your own location.

also where is that picture from?

It's from the original website. If the downloads are getting stuck, you should probably get back to setting your downloader to subprocess in config.json

thaynos commented 3 years ago

you should get 480p for now. You should check what location you have set in to_update.json for how much you have already downloaded. Don't tell me you didn't add your own location.

bruhhhh i dont know shit about javascript i dint change anything lmfao. also doesnt 720p work?

It's from the original website.

which website?

If the downloads are getting stuck, you should probably get back to setting your downloader to subprocess in config.json

KorigamiK commented 3 years ago

Then please change the

download_location 

In to_update.json where you want it. You would also need to escape the backlash like C:\\Downloads you need to put the backslash twice.

KorigamiK commented 3 years ago

Changing kickassanimex to 1 in config.json should give you 720p

thaynos commented 3 years ago

Then please change the

download_location 

In to_update.json where you want it. You would also need to escape the backlash like C:\\Downloads you need to put the backslash twice.

i cant find the download location text?

{
    "WEBSITE_DOMAIN": ".rs",
    "priority": {
        "KICKASSANIMEV2": -3,
        "KICKASSANIMEX": 1,
        "MAGENTA02": -1,
        "MAGENTA13":-2,
        "BETA-SERVER": -1,
        "MOBILE-V2": -1,
        "HTML5": -1,
        "A-KICKASSANIME": -1,
        "KICKASSANIME1": -1,
        "BETASERVER3": 2
    },
    "max_subprocesses": 5,
    "not used downloader": "subprocess",
    "downloader": "aiodownloader",
    "not_used_servers":{
        "DR.HOFFMANN": -1,
        "THETA-ORIGINAL-V4": 0,
        "ORIGINAL-QUALITY-V2":0,
        "THETA-ORIGINAL": -1
    },
    "debug": true
}
KorigamiK commented 3 years ago

I SAID to_update.json Please read carefully.

thaynos commented 3 years ago

damnit sorry i dint read properly forgive me for stupidding where did i miss the comma :( image

{
    "WEBSITE_DOMAIN": ".rs",
    "priority": {
        "KICKASSANIMEV2": -3,
        "KICKASSANIMEX": 1,
        "MAGENTA02": -1,
        "MAGENTA13":-2,
        "BETA-SERVER": -1,
        "MOBILE-V2": -1,
        "HTML5": -1,
        "A-KICKASSANIME": -1,
        "KICKASSANIME1": -1,
        "BETASERVER3": 2
    },
    "max_subprocesses": 5,
    "not used downloader": "aiodownloader",
    "downloader": "subprocess",
    "not_used_servers":{
        "DR.HOFFMANN": -1,
        "THETA-ORIGINAL-V4": 0,
        "ORIGINAL-QUALITY-V2":0,
        "THETA-ORIGINAL": -1
    },
    "debug": true
}
{
    "anime": {
        "https://www2.kickassanime.rs/anime/the-promised-neverland-season-2-251047": 6,
        "https://www2.kickassanime.rs/anime/sorcery-fight-723619": 18,
        "https://www2.kickassanime.rs/anime/dr-stone-stone-wars-802545/episode-01-852057": 5,
        "https://www2.kickassanime.rs/anime/horimiya-405153": 6,
        "https://www2.kickassanime.rs/anime/mushoku-tensei-jobless-reincarnation-280419": 6,
        "https://www2.kickassanime.rs/anime/rezero-kara-hajimeru-isekai-seikatsu-2nd-season-part-2-613847": 6,
        "https://www2.kickassanime.rs/anime/the-low-tier-character-tomozaki-kun-382592": 6,
        "https://www2.kickassanime.rs/anime/wonder-egg-priority-545544": 5
    },
    "download_location": "C:\\Users\GUEST123\Downloads\misc\downlaoders\kickassanime-downloader-master\kickassanime-downloader-master\downloaded",
    "pause_on_complete": true
}
KorigamiK commented 3 years ago

No, it should be


"download_location": "C:\\Users\\GUEST123\\Downloads\\misc\\downlaoders\\kickassanime-downloader-master\\kickassanime-downloader-master\\downloaded",
thaynos commented 3 years ago

thx for ur help i think its working altho some episodes arent working image

thaynos commented 3 years ago

this is exactly what i want actually image only problem is that all episodes dint get downloaded :( if it was only for that this script would perfect for my needs

thaynos commented 3 years ago

never mind actually the quality is really bad even if its 720p its really blurry and barely watcheable guess ill stick with 1080p

thaynos commented 3 years ago

how to switch back to 1080p? sry for the trouble

thaynos commented 3 years ago

im pretty sure its the websites fault but theres a clear quality dif between animepahe and kickassanime image image theres also a audio quality difference

KorigamiK commented 3 years ago

Also I should mention that this is how the quality index works in config.json photo_2021-05-25_22-16-59

Changing the value of kickassanimex to 0 or 1 in config.json will give you 1080p or 720p respectively. Right now you are downloading all the episodes in 480p (I think) since that's the default. If you still believe that the quality is still not good enough you can try out other servers from the website and then add them above kickassanimex.

only problem is that all episodes dint get downloaded :(

I can't do anything about that, if the download links are not available on the website then you can only stream them (you can use the --encode flag to download them and encode them yourself). Although I am thinking of adding a feature that also downloads them.

KorigamiK commented 3 years ago

Also, try to run the script again. I was able to download all the episodes no problem.

thaynos commented 3 years ago

Also I should mention that this is how the quality index works in config.json photo_2021-05-25_22-16-59

ohhh thats what the -1 and -3s mean i understand now thx for this

Changing the value of kickassanimex to 0 or 1 in config.json will give you 1080p or 720p respectively.

understood thx

Right now you are downloading all the episodes in 480p (I think) since that's the default. If you still believe that the quality is still not good enough you can try out other servers from the website and then add them above kickassanimex.

it is 720p only i checked in vlc video info. maybe maybe its 480p but made to fit in a 720p canvas? that still doesnt explain the audio quality dif. ofc its the sites issue with encoding maybe(?) wdym different servers? which website? which domain kickassanime is used? im rather scared of changing the config files cuz i might mess up something minute like a comma 💀

only problem is that all episodes dint get downloaded :(

I can't do anything about that, if the download links are not available on the website then you can only stream them (you can use the --encode flag to download them and encode them yourself). Although I am thinking of adding a feature that also downloads them.

ah ok thats sad :(

also where is that picture from?

It's from the original website.

which website?

thaynos commented 3 years ago

also isnt there a way to change the quality and other settings using the script itself instead of changing the json file again and again?

KorigamiK commented 3 years ago

its kickassanime.ru you should have figured that out by now

KorigamiK commented 3 years ago

also isnt there a way to change the quality and other settings using the script itself instead of changing the json file again and again?

not right now

thaynos commented 3 years ago

alr i downloaded all episodes in 1080p and its significantly better quality now. much more watcheable. although its still kinda bad but thats cuz the animation trash this season. thx for ur help :D

KorigamiK commented 3 years ago

Glad to be of your help.