Describe the bug
Long story short: I wanted to watch an episode of JoJo's Bizzare Adventure via kissanimex but was met with the message that no video could be found. Which is wrong, considering that I can watch it just fine via the website.
Turns out that there might be a problem in the episode scraping.
I found the validation to this assumption when executing this in the JS console: document.querySelectorAll("div.host#menu > a").forEach(x => console.log(x.dataset)).
Describe the bug Long story short: I wanted to watch an episode of JoJo's Bizzare Adventure via kissanimex but was met with the message that no video could be found. Which is wrong, considering that I can watch it just fine via the website.
Turns out that there might be a problem in the episode scraping.
I found the validation to this assumption when executing this in the JS console:
document.querySelectorAll("div.host#menu > a").forEach(x => console.log(x.dataset))
.To reproduce
LOG
``` 2021-08-27 17:58:08 ingwie-w10 anime_downloader.util[48732] INFO anime-downloader 5.0.14 2021-08-27 17:58:08 ingwie-w10 anime_downloader.util[48732] DEBUG Platform: Windows-10-10.0.19043-SP0 2021-08-27 17:58:08 ingwie-w10 anime_downloader.util[48732] DEBUG Python 3.9.5 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] INFO Extracting episode info from page 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/anime/6021-jojo-no-kimyou-na-bouken 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/anime/6021-jojo-no-kimyou-na-bouken 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmplyqb258w 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/anime/6021-jojo-no-kimyou-na-bouken 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/anime/6021-jojo-no-kimyou-na-bouken 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmpgesz_osl 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG EPISODE IDS: length: 6, ids: ['https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1', 'https://kissanimex.com/watch/dubbed/28709-jojo-no-kimyou-na-bouken-episode-2', 'https://kissanimex.com/watch/dubbed/28710-jojo-no-kimyou-na-bouken-episode-3', 'https://kissanimex.com/watch/dubbed/28711-jojo-no-kimyou-na-bouken-episode-4', 'https://kissanimex.com/watch/dubbed/28712-jojo-no-kimyou-na-bouken-episode-5', 'https://kissanimex.com/watch/dubbed/28713-jojo-no-kimyou-na-bouken-episode-6'] 2021-08-27 17:58:08 ingwie-w10 anime_downloader.commands.dl[48732] INFO Found anime: JoJo no Kimyou na Bouken 2021-08-27 17:58:08 ingwie-w10 anime_downloader.commands.dl[48732] INFO Downloading to C:\Users\ingwi\anime 2021-08-27 17:58:08 ingwie-w10 anime_downloader.commands.dl[48732] INFO Speed is being limited to 0 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Extracting stream info of id: https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmpsdux8n_0 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmpvcgjg00t 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] WARNING Quality 1080p not found. Trying 720p. 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmp8syjnliy 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmp3_9bo4qy 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] WARNING Quality 720p not found. Trying 480p. 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmpzzc0o59f 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmpqm04qjfv 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] WARNING Quality 480p not found. Trying 360p. 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmpzfak9t1_ 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG GET https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/90.0.4430.198 Safari/605.1.15'} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG ----- 2021-08-27 17:58:08 ingwie-w10 anime_downloader.session[48732] DEBUG cached request 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG https://kissanimex.com/watch/dubbed/28708-jojo-no-kimyou-na-bouken-episode-1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.helpers.request[48732] DEBUG C:\Users\ingwi\AppData\Local\Temp\animedlk_sytv4o\tmpua7c2ir1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] DEBUG Sources : 2021-08-27 17:58:08 ingwie-w10 anime_downloader.sites.anime[48732] WARNING Skipping episode: 1 2021-08-27 17:58:08 ingwie-w10 anime_downloader.util[48732] DEBUG cmd: {aria2} DEBUG:anime_downloader.util:cmd: {aria2} 2021-08-27 17:58:08 ingwie-w10 anime_downloader.util[48732] DEBUG episode: