anime-dl / anime-downloader

A simple but powerful anime downloader and streamer.
The Unlicense
1.93k stars 217 forks source link

Animepahe kwik (cfscrape) error #286

Closed uali6981 closed 4 years ago

uali6981 commented 4 years ago

Please check the "Animepahe" site. Problem occur after selecting anime like problem occur on "KissAnime" and "KissCartoon" Annotation 2020-01-23 170258 Annotation 2020-01-23 170334 Annotation 2020-01-23 170356 Annotation 2020-01-23 170417 Annotation 2020-01-23 170438 Annotation 2020-01-23 170458

an error like this appears again and again.

RaitaroH commented 4 years ago

Yeah... animepahe itself (as in kwik the video host) doesn't work right now. It says right there: reply: '503 Service Temporarily Unavailable so not much to be done by anime downloader or my script adl which relies on it. Please change the title of this to something like Animepahe kwik 503 error or something.

I have noticed this issue around 2 days ago I believe and is still not fixed yet, they take their sweet time with "temporary" 503 error.

uali6981 commented 4 years ago

Thanks for replay. Hope you people fix this issue soon. So many thanks

RaitaroH commented 4 years ago

@Muhammad-Usman-Ali I want to be a bit more clear: this is animepahe side issue and not an anime downloader issue. That is, kwik videos do not work on animepahe even in the browser.

I suggested changing the name instead of closing the issue because others might see it and not make extra spamy issues. Though, I am just a user of this script, and I use it as a dependency for my own, adl script. Check it out if you want (you need bash shell for it though).

uali6981 commented 4 years ago

"Kwik videos do not work on animepahe even in browser." How you say this? In my browser kwik videos work perfectly for animepahe and I did not get any error like "503 Service Temporarily Unavailable" Annotation 2020-01-25 012123 Annotation 2020-01-25 012206 Annotation 2020-01-25 012230

ngomile commented 4 years ago

This does not seem to be an issue with the anime-downloader itself but cloudflare has changed something and cfscrape isn't passing the challenge or something. Extracting from kwik is working okay but when the episodes are being fetched by cfscrape it's just stalling and failing to go on. So essentially, either cfscrape gets updated or we remain like this.

RaitaroH commented 4 years ago

@Muhammad-Usman-Ali Well I said that because on my end it truly does not work... so I kept digging a bit thanks to you. I just tested again on Waterfox Current 2019.10 (64-bit), also on Brave 1.2.41 and it does not work. Though I am not sure why exactly. Whereas on Chromium 79.0.3945.130 it seems to work for some reason. On Waterfox 2019.12 (64-bit) (a version based on the older pre-quantum firefox), animepahe also works :thinking:. So I thought, perhaps, is my blocking at fault. But no, even with the same rules in uMatrix on this older waterfox everything works even though on current it does not. So I really have no idea what is going on at this point. It might help if the user-agent is changed perhaps? So I changed the user-agent manually in .local/lib/python3.8/site-packages/anime_downloader/const.py:

def get_random_header():
    return {'user-agent': 'Chrome/79.0.3945.130'} #also tried .123 here as well

And yet this still doesn't work.

RaitaroH commented 4 years ago

Anyhow this issue has become interesting so maybe @29ayush can take a look. Unless is just cfscrape as @ngomile said and welp, nothing can be done I guess.

ngomile commented 4 years ago

Prior to this, cfscrape would have easily gone through cloudflare but as I've said before there really does seem to be a problem with the bypassing logic. Here are some of the screenshots that might prove this.

Capture2 cfscrape hangs for a very long time but it does eventually give up with an error.

Capture cloudscraper quickly responds with an error as well. This just further likely points to there being a problem with the logic behind bypassing. We can wait and see, maybe cfscrape will get an update that fixes this though it hasn't been active in some time.

uali6981 commented 4 years ago

@ngomile Yeah. You are right because anime-downloader fetch anime from animepahe perfectly but give error on fetching eps from kwik

uali6981 commented 4 years ago

and secondly, they change their downloading server from kwik.com to cdn.nextream.org. check the IDM screenshot I upload above. Maybe this problem occurs because of this

uali6981 commented 4 years ago

@ngomile Are you ever use this scraper cloudscraper.

ngomile commented 4 years ago

@uali6981 I forgot about it, let me just do a quick check and see if it works.

uali6981 commented 4 years ago

and also check this #315

cd cloudflare-scrape
git fetch origin pull/315/head:pull_315
git checkout pull_315
python3 setup.py install

Thanks

uali6981 commented 4 years ago

After using Pull request this error appear

Animepahe Error

2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.util[14992] INFO anime-downloader 4.0.1
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.util[14992] DEBUG Platform: Windows-10-10.0.18362-SP0
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.util[14992] DEBUG Python 3.8.1
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG HTML file temp_dir: C:\Users\------~1\AppData\Local\Temp\animedl6e1s5dcu
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.sites.anime[14992] INFO Extracting episode info from page
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG -----
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG GET https://animepahe.com/anime/mugen-no-juunin-immortal
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG {}
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG {'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Ubuntu/10.10 Chromium/17.0.963.65 Chrome/17.0.963.65 Safari/535.11'}
2020-01-29 22:15:56 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG -----
send: b'GET /anime/mugen-no-juunin-immortal HTTP/1.1\r\nHost: animepahe.com\r\nuser-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Ubuntu/10.10 Chromium/17.0.963.65 Chrome/17.0.963.65 Safari/535.11\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\n\r\n'
reply: 'HTTP/1.1 503 Service Temporarily Unavailable\r\n'
header: Date: Wed, 29 Jan 2020 17:15:57 GMT
header: Content-Type: text/html; charset=UTF-8
header: Transfer-Encoding: chunked
header: Connection: close
header: Set-Cookie: __cfduid=df61c2d80dc0138a11b888ab33bbd9e561580318157; expires=Fri, 28-Feb-20 17:15:57 GMT; path=/; domain=.animepahe.com; HttpOnly; SameSite=Lax; Secure
header: X-Frame-Options: SAMEORIGIN
header: Cache-Control: no-cache
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Vary: Accept-Encoding
header: Alt-Svc: h3-24=":443"; ma=86400, h3-23=":443"; ma=86400
header: X-Content-Type-Options: nosniff
header: Server: cloudflare
header: CF-RAY: 55ccd9e70c54dcca-SIN
2020-01-29 22:15:57 DESKTOP-18PA6L2 anime_downloader.session[14992] DEBUG uncached request
send: b'POST /anime/mugen-no-juunin-immortal?__cf_chl_jschl_tk__=ee2737389b6b83579f0e774e6f0dabf977a96f47-1580318157-0-AVTRjYP9bakNc_E8NzYoEQiWZuiNtjVA5p0DOGcELDwcmjpYECTejENd0uqfAKa7ua4KnVeOUEMEbb_C52zTKKc8BrQ5ZVQrkQ01rYhhLP1WhI_6itnBOUKhoUq5VVL2TWrIGNvw0TwUF8KrBFKZ0IX98oebSgK_cANYfgz3wHj-2nDD_YRvD9fDUp1b5YQk9luwoYf0jtRlXsf_MTutm6NVs0hiwvYBSkCwLaQttBBRilswAoYwOSjJ-2EAAQFzz8LFImYzo2OTszFKgaxQpHvd2y2eQbSTXhK569l-4Hcb HTTP/1.1\r\nHost: animepahe.com\r\nuser-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Ubuntu/10.10 Chromium/17.0.963.65 Chrome/17.0.963.65 Safari/535.11\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nReferer: https://animepahe.com/anime/mugen-no-juunin-immortal\r\nCookie: __cfduid=df61c2d80dc0138a11b888ab33bbd9e561580318157\r\nContent-Length: 1620\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n'
send: b'jschl_answer=13.5423642869&jschl_vc=22fb655c7769b8a2e9274a09132fd5ea&pass=1580318161.933-o2D0DGYPLo&r=c9eedfba128fd6bd74b369c14cd265cf05c04d2a-1580318157-0-ARDUuJ8A6ZYpl2IxOtwv5mI2Fm4rJU3%2BHKmp4nYYGJ6mh%2Fm1z7PWhrPzeHRTJBB3a6DeM8WktKKh22yqPvv2ADd%2FymBn4WTyamePqL%2FQIZxax9oQeQ3zfX0II8mTUfktqqzZ94oUg2Wl1zvwuNPrhjIr5SJB382JQ8aIOb7L7hsNCTM5GSx3N8Im3yAQ0zec5KhOmzh3f0AKxYPiSG4ESHOBX4Cn5uhw8zx2GLbMwAohYFNAwyqAsywaM0XJCWITjMNU8ZauBGJd8AMKbxfBdUUtQBk0VvISw9AWrfnMwJ2e57Dk%2BPXciJvjvn359ssgQ55aR6TUEVN7U4aen12eEA30jZHH5VDiWgN6nyMT%2BKUy02lH5KR0H%2F6buLdZHvsHXkZwmeIfUFJ%2FOamvPSsiAMiQLuRe3iGdNKk4TyGl%2BrczOJCurv94dTcnebQSo4P8%2BdALIUmBTfbTUMT%2FwH6BT4Li6dMLHwCTFsIxtKTJDrt%2B74Wl%2FvK8INchKVbCxBR77uaMOHsJ8aRokII25WTJIZMMk47UCoYXlbyoQCCoDb2TI%2BvMOlvykS0r2VuQjnkcNA4DilIVK4j5mRvDFjBHhCozUupxy0y4vqVs5ZAQJ1iMFrUiTFiG9yvlwv0wnz1%2FNpH%2BbxGhmRfvchp9G7mExd2yKK1H6S3fQQyJTRe5xURjPSL6Pg7UuleFudSKF7udp1xYJr3kCrL1v%2B5er6soQmvnp6PwNOMm3w4bmRTneF47ACxXwmdQ%2FFoOMcIEnvi41oYNysyINZIWC8WLQ9hg8rII%2FHuSEzVkrrvCl9HQZRqb%2F0lqTkUj6aMy0p9udked3%2Bso7SGBa98ZRlrYhcv%2FPOoVzVrFCY%2FjOwainZlqDOll2hcxzj8ZD45dDJIMEL4jaw7eDY2ndHajMtGEWy7YNn3TEsLwdta7zm2EWf684ZI%2FPEnK4HGCHiRGNjsu4nRh2E9ESTtbodYQ%2Fv0QHptd%2BbzBd6e0Trdd5%2Fh5MWmEgnyz4r6%2FR3zRJSEWRkVkj83dCGRAeCFIISLvxrCYiLSdL5N4kjmIntW%2Bo8YRhMBdlXSoVOFD4k%2BA4wESU1MtChyarfQ5KwIQGMzdMg8eIpkKLsjDo4VIFPrNIHhPZkU5%2BdgiRZN7a407AH7mHzNLMGeRHvMFTP6%2Bp1SmjNkAquR8g9P5xqdplbA5WigsEdTjOomDQPKIvO3W8lzBGYGzdOo0MeMxCI%2Br1FzI03dqV%2B5AZO4WTpi%2F3Nut4a1CIC8a1xglZTgl5du0IUaEps2X%2FC%2BUfaKjRSvHnQJ6SBJYjSJPEHybFEbNsUfSOC2pWnSj4vL78PizF6gt54Y0wYNa9SF2LIkUgR4BVKOC1sl7TzcgrEklScQQ%2FowPe7TOuk5RPN5c'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Date: Wed, 29 Jan 2020 17:16:02 GMT   
header: Content-Type: text/html; charset=UTF-8
header: Transfer-Encoding: chunked
header: Connection: close
header: CF-Chl-Bypass: 1
header: Cache-Control: no-cache
header: X-Frame-Options: SAMEORIGIN
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Vary: Accept-Encoding
header: Server: cloudflare
header: CF-RAY: 55ccda02ead0dcd2-SIN
header: Content-Encoding: gzip
2020-01-29 22:16:01 DESKTOP-18PA6L2 anime_downloader.session[14992] DEBUG uncached request
send: b'GET /anime/mugen-no-juunin-immortal?__cf_chl_jschl_tk__=ee2737389b6b83579f0e774e6f0dabf977a96f47-1580318157-0-AVTRjYP9bakNc_E8NzYoEQiWZuiNtjVA5p0DOGcELDwcmjpYECTejENd0uqfAKa7ua4KnVeOUEMEbb_C52zTKKc8BrQ5ZVQrkQ01rYhhLP1WhI_6itnBOUKhoUq5VVL2TWrIGNvw0TwUF8KrBFKZ0IX98oebSgK_cANYfgz3wHj-2nDD_YRvD9fDUp1b5YQk9luwoYf0jtRlXsf_MTutm6NVs0hiwvYBSkCwLaQttBBRilswAoYwOSjJ-2EAAQFzz8LFImYzo2OTszFKgaxQpHvd2y2eQbSTXhK569l-4Hcb HTTP/1.1\r\nHost: animepahe.com\r\nuser-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Ubuntu/10.10 Chromium/17.0.963.65 Chrome/17.0.963.65 Safari/535.11\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nReferer: https://animepahe.com/anime/mugen-no-juunin-immortal\r\nCookie: __cfduid=df61c2d80dc0138a11b888ab33bbd9e561580318157\r\nContent-Length: 1620\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n'
send: b'jschl_answer=13.5423642869&jschl_vc=22fb655c7769b8a2e9274a09132fd5ea&pass=1580318161.933-o2D0DGYPLo&r=c9eedfba128fd6bd74b369c14cd265cf05c04d2a-1580318157-0-ARDUuJ8A6ZYpl2IxOtwv5mI2Fm4rJU3%2BHKmp4nYYGJ6mh%2Fm1z7PWhrPzeHRTJBB3a6DeM8WktKKh22yqPvv2ADd%2FymBn4WTyamePqL%2FQIZxax9oQeQ3zfX0II8mTUfktqqzZ94oUg2Wl1zvwuNPrhjIr5SJB382JQ8aIOb7L7hsNCTM5GSx3N8Im3yAQ0zec5KhOmzh3f0AKxYPiSG4ESHOBX4Cn5uhw8zx2GLbMwAohYFNAwyqAsywaM0XJCWITjMNU8ZauBGJd8AMKbxfBdUUtQBk0VvISw9AWrfnMwJ2e57Dk%2BPXciJvjvn359ssgQ55aR6TUEVN7U4aen12eEA30jZHH5VDiWgN6nyMT%2BKUy02lH5KR0H%2F6buLdZHvsHXkZwmeIfUFJ%2FOamvPSsiAMiQLuRe3iGdNKk4TyGl%2BrczOJCurv94dTcnebQSo4P8%2BdALIUmBTfbTUMT%2FwH6BT4Li6dMLHwCTFsIxtKTJDrt%2B74Wl%2FvK8INchKVbCxBR77uaMOHsJ8aRokII25WTJIZMMk47UCoYXlbyoQCCoDb2TI%2BvMOlvykS0r2VuQjnkcNA4DilIVK4j5mRvDFjBHhCozUupxy0y4vqVs5ZAQJ1iMFrUiTFiG9yvlwv0wnz1%2FNpH%2BbxGhmRfvchp9G7mExd2yKK1H6S3fQQyJTRe5xURjPSL6Pg7UuleFudSKF7udp1xYJr3kCrL1v%2B5er6soQmvnp6PwNOMm3w4bmRTneF47ACxXwmdQ%2FFoOMcIEnvi41oYNysyINZIWC8WLQ9hg8rII%2FHuSEzVkrrvCl9HQZRqb%2F0lqTkUj6aMy0p9udked3%2Bso7SGBa98ZRlrYhcv%2FPOoVzVrFCY%2FjOwainZlqDOll2hcxzj8ZD45dDJIMEL4jaw7eDY2ndHajMtGEWy7YNn3TEsLwdta7zm2EWf684ZI%2FPEnK4HGCHiRGNjsu4nRh2E9ESTtbodYQ%2Fv0QHptd%2BbzBd6e0Trdd5%2Fh5MWmEgnyz4r6%2FR3zRJSEWRkVkj83dCGRAeCFIISLvxrCYiLSdL5N4kjmIntW%2Bo8YRhMBdlXSoVOFD4k%2BA4wESU1MtChyarfQ5KwIQGMzdMg8eIpkKLsjDo4VIFPrNIHhPZkU5%2BdgiRZN7a407AH7mHzNLMGeRHvMFTP6%2Bp1SmjNkAquR8g9P5xqdplbA5WigsEdTjOomDQPKIvO3W8lzBGYGzdOo0MeMxCI%2Br1FzI03dqV%2B5AZO4WTpi%2F3Nut4a1CIC8a1xglZTgl5du0IUaEps2X%2FC%2BUfaKjRSvHnQJ6SBJYjSJPEHybFEbNsUfSOC2pWnSj4vL78PizF6gt54Y0wYNa9SF2LIkUgR4BVKOC1sl7TzcgrEklScQQ%2FowPe7TOuk5RPN5c'
reply: 'HTTP/1.1 302 Moved Temporarily\r\n'
header: Date: Wed, 29 Jan 2020 17:16:02 GMT
header: Content-Type: text/html
header: Content-Length: 143
header: Connection: keep-alive
header: Location: /anime/mugen-no-juunin-immortal
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Vary: Accept-Encoding
header: Server: cloudflare
header: CF-RAY: 55ccda05aad1e24b-SIN
2020-01-29 22:16:01 DESKTOP-18PA6L2 anime_downloader.session[14992] DEBUG uncached request
2020-01-29 22:16:01 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG https://animepahe.com/anime/mugen-no-juunin-immortal?__cf_chl_jschl_tk__=ee2737389b6b83579f0e774e6f0dabf977a96f47-1580318157-0-AVTRjYP9bakNc_E8NzYoEQiWZuiNtjVA5p0DOGcELDwcmjpYECTejENd0uqfAKa7ua4KnVeOUEMEbb_C52zTKKc8BrQ5ZVQrkQ01rYhhLP1WhI_6itnBOUKhoUq5VVL2TWrIGNvw0TwUF8KrBFKZ0IX98oebSgK_cANYfgz3wHj-2nDD_YRvD9fDUp1b5YQk9luwoYf0jtRlXsf_MTutm6NVs0hiwvYBSkCwLaQttBBRilswAoYwOSjJ-2EAAQFzz8LFImYzo2OTszFKgaxQpHvd2y2eQbSTXhK569l-4Hcb
2020-01-29 22:16:01 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG C:\Users\-----~1\AppData\Local\Temp\animedl6e1s5dcu\tmphycugv2x
2020-01-29 22:16:02 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG -----
2020-01-29 22:16:02 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG GET https://animepahe.com/api
2020-01-29 22:16:02 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG {'params': {'m': 'release', 'id': 'nd</title></head>\r\n<body>\r\n<center><h1>302 Found</h1></center>\r\n<hr><center>cloudflare</center>\r\n</body>\r\n</html>\r', 'sort': 'episode_asc', 'page': 1}}
2020-01-29 22:16:02 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG {'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Ubuntu/10.10 Chromium/17.0.963.65 Chrome/17.0.963.65 Safari/535.11'}
2020-01-29 22:16:02 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG -----
send: b'GET /api?id=nd%3C%2Ftitle%3E%3C%2Fhead%3E%0D%0A%3Cbody%3E%0D%0A%3Ccenter%3E%3Ch1%3E302+Found%3C%2Fh1%3E%3C%2Fcenter%3E%0D%0A%3Chr%3E%3Ccenter%3Ecloudflare%3C%2Fcenter%3E%0D%0A%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E%0D&m=release&page=1&sort=episode_asc HTTP/1.1\r\nHost: animepahe.com\r\nuser-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Ubuntu/10.10 Chromium/17.0.963.65 Chrome/17.0.963.65 Safari/535.11\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nCookie: __cfduid=df61c2d80dc0138a11b888ab33bbd9e561580318157\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 29 Jan 2020 17:16:04 GMT
header: Content-Type: application/json
header: Transfer-Encoding: chunked
header: Connection: keep-alive
header: Vary: Accept-Encoding
header: Cache-Control: no-cache, private
header: Set-Cookie: XSRF-TOKEN=eyJpdiI6IjgyTXN4Z3N3SjZubTZTZHhMelVwK1E9PSIsInZhbHVlIjoiRG5CeHJQaHlyTUNjXC9RQnpaQXVPZGtVSnVjbVBMWjM4VjdaOFg4UjRXRnM5dVFjclJZZXdaTFR0Y3FUclM2c3dyZzE4NkFXejBrTEFicnpScG9CTUxRPT0iLCJtYWMiOiJmNzc3N2E5NzQ3NGM3YzhjYjczYWFmOGVkYWIzZWMyZTdlNjVhOGIxMWQ3ZmM4ZTNhMGRmNjg4ZjI3NDEzYmZmIn0%3D; expires=Wed, 29-Jan-2020 19:16:04 GMT; Max-Age=7200; path=/
header: Set-Cookie: laravel_session=eyJpdiI6Inhjb3FUKzZYeWZ2cHNGemNQa01hRGc9PSIsInZhbHVlIjoibmJDMUN3K0hnTktqbXVCaWp5ajFFS3A3b3hyeGxLam5zakpyQTZRNVpWTHBHc2Q3UlJaNmpsVUZaelJ6WVJqVHJ0UlZNTE90d0F0RSsyXC9PVWhXRU9BPT0iLCJtYWMiOiI5NTliMjBiZjgxZDk2YzQzNjZjZjk2ZWYwMDg4MTc3ZTA1NzcxNmExNGIyYzVkNjFiNzY2YjBhMGNlMmExOTc4In0%3D; expires=Wed, 29-Jan-2020 19:16:04 GMT; Max-Age=7200; path=/; HttpOnly
header: Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
header: Content-Encoding: gzip
header: CF-Cache-Status: DYNAMIC
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Alt-Svc: h3-24=":443"; ma=86400, h3-23=":443"; ma=86400
header: X-Content-Type-Options: nosniff
header: Server: cloudflare
header: CF-RAY: 55ccda0a1fa5c3ae-SIN
2020-01-29 22:16:04 DESKTOP-18PA6L2 anime_downloader.session[14992] DEBUG uncached request
2020-01-29 22:16:04 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG https://animepahe.com/api?id=nd%3C%2Ftitle%3E%3C%2Fhead%3E%0D%0A%3Cbody%3E%0D%0A%3Ccenter%3E%3Ch1%3E302+Found%3C%2Fh1%3E%3C%2Fcenter%3E%0D%0A%3Chr%3E%3Ccenter%3Ecloudflare%3C%2Fcenter%3E%0D%0A%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E%0D&m=release&page=1&sort=episode_asc
2020-01-29 22:16:04 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[14992] DEBUG C:\Users\------~1\AppData\Local\Temp\animedl6e1s5dcu\tmplvyv82uo
Traceback (most recent call last):
  File "C:\Python38\Scripts\anime-script.py", line 11, in <module>
    load_entry_point('anime-downloader==4.0.1', 'console_scripts', 'anime')()
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\cli.py", line 53, in main
    cli()
  File "C:\Python38\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "C:\Python38\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "C:\Python38\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Python38\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Python38\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "C:\Python38\lib\site-packages\click\decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\commands\dl.py", line 92, in command        
    anime = cls(anime_url, quality=quality,
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\sites\anime.py", line 84, in __init__       
    self._episode_urls = self.get_data()
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\sites\animepahe.py", line 105, in get_data  
    self._scrape_metadata(resp['data'])
KeyError: 'data'

Kissanime Error

2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.util[15384] INFO anime-downloader 4.0.1
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.util[15384] DEBUG Platform: Windows-10-10.0.18362-SP0
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.util[15384] DEBUG Python 3.8.1
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG HTML file temp_dir: C:\Users\------~1\AppData\Local\Temp\animedlreejrjxu
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.sites.anime[15384] INFO Extracting episode info from page
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG -----
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG GET https://kissanime.ru/Anime/Kaleido-Star-Aratanaru-Tsubasa
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG {}
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG {'user-agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.4 Safari/532.0'}
2020-01-29 22:27:07 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG -----
send: b'GET /Anime/Kaleido-Star-Aratanaru-Tsubasa HTTP/1.1\r\nHost: kissanime.ru\r\nuser-agent: Mozilla/5.0 (Windows; U; Windows NT 
5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.4 Safari/532.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\n\r\n'
reply: 'HTTP/1.1 503 Service Temporarily Unavailable\r\n'
header: Date: Wed, 29 Jan 2020 17:27:09 GMT
header: Content-Type: text/html; charset=UTF-8
header: Transfer-Encoding: chunked
header: Connection: close
header: X-Frame-Options: SAMEORIGIN
header: Set-Cookie: __cfduid=db834eff6f3b856cf72f32b9ca955edf41580318829; expires=Fri, 28-Feb-20 17:27:09 GMT; path=/; domain=.kissanime.ru; HttpOnly; SameSite=Lax
header: Cache-Control: no-cache
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Vary: Accept-Encoding
header: Server: cloudflare
header: CF-RAY: 55ccea4a997add8b-SIN
2020-01-29 22:27:08 DESKTOP-18PA6L2 anime_downloader.session[15384] DEBUG uncached request
send: b'POST /Anime/Kaleido-Star-Aratanaru-Tsubasa?__cf_chl_jschl_tk__=cf772e26e2b04fecc70747a597ff4611562866b0-1580318829-0-ARYbIDRRFXisW4I8XeGG4JE99Uf3I-TmKFgLUngoti5mhdfwnPTXo9ekUBaDzVh-fgAdAVwReQi_glBcFLmaJAZEpuVtinUVNa6j1GeRpVskqj7jH7sW2X4wdVdahtnXDOVK6I_cxymZgqnm0Esb4Ufsvl3HOEk6ViKoXRRov2HaWCcVfqM7p5uxXzS5RMNBNd5JMjd24nOck_E8jWG_40a2oKBQMlrirW_G0zDP4pIrv9Y9vGdZr3CMNcZQKoh2feJkSud4VMRiLUuNSOQjGldHNip0AEoYq0TJdrUvn6IFRaoZf1OhHlVmKpTPxgBRJg HTTP/1.1\r\nHost: kissanime.ru\r\nuser-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.4 Safari/532.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nReferer: https://kissanime.ru/Anime/Kaleido-Star-Aratanaru-Tsubasa\r\nCookie: __cfduid=db834eff6f3b856cf72f32b9ca955edf41580318829\r\nContent-Length: 1581\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n'
send: b'jschl_answer=-84.6926899976&jschl_vc=1a4e332868f644efeddeeeade6c27b90&pass=1580318833.217-FWQM0p8fN6&r=4a5e5c73e47e6afbfd3a3e7cb252e0491c522a64-1580318829-0-Ae%2F9ZomRjMfsLXI6WK5MV%2F42FG0Pq2SOQhBdCfABx2G7Cw9FScTBpFwEh2NsCvzFONP4x%2ByKYxzV4Re2eDyBs9V4xuARirERolkFGTpSuuOkhp7GHlroEFPlIg%2BlPHfsIDCJaV4JgC97YwJjQnTe7LKS0V014NYNrEjMbAVZyWhf5bVxpb%2FHRy7ixCAsE%2FREhbu%2BEvg31iwrbBJ1PqWJGv0Uf6hleMJ3v3UM49TpvHKtpQHMQMnoAxHBzNkZmoUp4FmmbB4sROoHatylAas%2Bi5QThHOHdUBwKVhwjY0EMNTAdtmJMQvxC2hKcklNan9NRmnyxdSpoTK0TIxwca2lP5A5PAi%2BXlLn2BIkQEIhDoiqV017a2%2B0reVCtGpvwVNEjRBREGBJB6lNO51K1HobU3rmJ%2BzGSK3jSZomc8icTfnKCFjzEQCTQObfZlwihFLaTaI1Hn7EWGXO7kibV0duJGw97hOtqpIHwcGXxWIq2DAKESoV7MjN7SUQuAoOWC7z%2Bq3kPG%2FPHBtOKmfqTwaRCsLtKF4g5vGAwI3wsa7iiReK6xXw00F0X2QQSeyItgWAFDrjUF8257QW4yY3wlGLv50NPGDQoJE7Vfvjaw6%2Bm1wqqRYRUImtSCqwzlghXayVjlQ7h6IJZkHpXpduEfNg%2BPppmrIivP94iBjopk9cV5DpUaW2OgmnUv1ys3fHUE0hzcBfrCaXiHPluiR8U8a2Z6U9AVS7S3zrx9L77ywM4BdgDMWq5FrjCs982kGqSuNYPBB7ujW3D80mA7M6MprwUQpZR%2F9jrs7np7RJyuO3sHN1xAam8jNZqzWnIBRY7XSqFLTfAZwWGPO2VsMY%2Bmn2PuaaC5dDm536szkJ8AyexmHf0Kyk6SPnzq95mG890yn7KN%2FYti1VXD2vg9MRoXAxlkzsTqjvO6QwWIFq%2BfT%2Bl1TnuOQLO1bebRJt9naVOkAHJGSYhrRBLkKGevf%2BvEfc9XKXjA7WV58qletpfsPdlF1TcO%2BZs%2F08IiWOPCpCJxNv%2FNy7gzANOC6UG10pOIHHcN1MLhzXpvqsD0oRSLhS3FZ5ruhpIcrLMOtDReMw4yfIVKcpxtQjSgvKIm71GmJEF4sUU5C%2BKJr0yTKjnBHi4yYNrshUnPerAxpizDHsSZfM7GXT1DFQedRrGPbbIPedc8ksqOzlnVfJMPGDjHj558cUxOZZ3i7k8BtiRu9%2Fbg%2BfBencNyUtO664iU7Ot7mte8VVL48SMpNHH84fKzMmPk2MqgLCXP28HV3gLeAYTEkf9EKscVRbioF9VASTGVK8m03ipZoZytd3U5eXMjkJD1D53KJPHunbmdn2lJfknXqxyyfTFRWBoCjH751mXQ7dwdg%3D'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 29 Jan 2020 17:27:14 GMT
header: Content-Type: text/html; charset=utf-8
header: Transfer-Encoding: chunked
header: Connection: keep-alive
header: Set-Cookie: cf_clearance=6986a6a4149cd70b6421d2da725f546bb85dbf43-1580318833-0-150; path=/; expires=Thu, 30-Jan-20 18:27:13 
GMT; domain=.kissanime.ru; HttpOnly; Secure; SameSite=None
header: Set-Cookie: __cfduid=db3895cc5c52ec03df8524b9de55bbc661580318833; expires=Fri, 28-Feb-20 17:27:13 GMT; path=/; domain=.kissanime.ru; HttpOnly; SameSite=Lax
header: Cache-Control: private
header: Set-Cookie: idtz=27.255.29.243-923052816; expires=Wed, 01-Jan-2020 00:00:00 GMT; path=/
header: CF-Cache-Status: DYNAMIC
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Server: cloudflare
header: CF-RAY: 55ccea66df19c386-SIN
header: Content-Encoding: gzip
2020-01-29 22:27:13 DESKTOP-18PA6L2 anime_downloader.session[15384] DEBUG uncached request
send: b'GET /Anime/Kaleido-Star-Aratanaru-Tsubasa HTTP/1.1\r\nHost: kissanime.ru\r\nUser-Agent: python-requests/2.22.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nCookie: __cfduid=db3895cc5c52ec03df8524b9de55bbc661580318833; cf_clearance=6986a6a4149cd70b6421d2da725f546bb85dbf43-1580318833-0-150\r\n\r\n'
reply: 'HTTP/1.1 503 Service Temporarily Unavailable\r\n'
header: Date: Wed, 29 Jan 2020 17:27:14 GMT
header: Content-Type: text/html; charset=UTF-8
header: Transfer-Encoding: chunked
header: Connection: close
header: X-Frame-Options: SAMEORIGIN
header: Cache-Control: no-cache
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Vary: Accept-Encoding
header: Server: cloudflare
header: CF-RAY: 55ccea6d79acc386-SIN
2020-01-29 22:27:13 DESKTOP-18PA6L2 anime_downloader.session[15384] DEBUG uncached request
send: b'POST /Anime/Kaleido-Star-Aratanaru-Tsubasa?__cf_chl_jschl_tk__=8d6d3922043fee5f58cb98eb0b27b587acf3031d-1580318834-0-AZMt3IPaQ5SJwtXMsMgAQgVjksIRTsXgP7NBe_xysrhYjD13gNcbnmBFiDG8v9vYjeh9LLFvTcMsk6vAAsykud7SDya3DuIzHlG0J_85JvIVMeHHBL0X6ZOK2Ga2i9wVubtnJMWmkH3UD5jrFasVb5_EVp1lqjwBGFGsCJ16QEHsHm2LeUfdhJ4x00H0EywZXTMUfiCyJmAkbe5EqisJTLSrnIGKHdHnIgofamA0bPE-ffaRAObpsPDx7JtcANDi2czIYfoxvxD9J27F4HMo6a58pDX3HJeOsafYJXu1Wy5uOW9MDZNA8MKmsBos1-IxDQ HTTP/1.1\r\nHost: kissanime.ru\r\nUser-Agent: python-requests/2.22.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nReferer: https://kissanime.ru/Anime/Kaleido-Star-Aratanaru-Tsubasa\r\nCookie: __cfduid=db3895cc5c52ec03df8524b9de55bbc661580318833; cf_clearance=6986a6a4149cd70b6421d2da725f546bb85dbf43-1580318833-0-150\r\nContent-Length: 1288\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n'
send: b'jschl_answer=14.6314723151&jschl_vc=dae5213a8f7024969431d1f53a6f665d&pass=1580318838.8-5BUgFSQANT&r=e14bd87f7a19af6361de74dea58566b805ba26a4-1580318834-0-AQu87iJeMHihtpwmspZ%2FraW%2F%2BFJG0u7E5yZel8vqbMXmVbEzg4U4hQOcT7HyOXF%2F%2Bugxx10rTQV3QG44zMsxyrY0JZPW3e646CN%2FucsgiDVSg0s2lmKeelDJmvRQOIclGHZ%2FSv28%2F1%2FJheS%2FNBEXBw%2FSnOdGuzZ7w3wifh%2BjT4zfg0GznqjseGRIjU4ylOyYR90kfklc5E7UDIO7GGLzSdM1LiVLDDEoxJmltjjHMXOaYg04ZyGz576yCgiei0y3X4rcY1SlLMxj%2BMtFYabp2xQK95RsnCf2vL0M0xSG%2Bv93ZwRgKLuFi%2F%2FHUb2lc8475pNbc3AOEE%2FtzoGW2F9YeXCIlZzzpR3pyKqPU%2FmKVsA1SuskayFw61zRB7br0JlsX0zY1Z%2F%2FfZVwA115P2cYJJXQKvN41SL2MMLYaDDeM9tWnzBKbwhLXvBkw3IfIhEo%2FMdqBD2fj%2FNF7ISWogTwnTfEyayIceWYCboOo0oqolrPjmvfYR1kNzKIMfxuP2WtRVxHDhmWEsziPIYRIQ7VEXTkSCWk7ebWLAGDKhz2q6yzYexMce2AqH8SXLxxB0Du4zjfz4HIclyANv56vA2DhGuk8DwmwbgpWcsIcpIADcfCd3dIJoqfsjwgO8XFsszzXhAibEOFsUsBbhOeohXmfn%2BMd9GcoSr2ivAkMNToqRaRpQHjBrt9TInyMA9hEtjrm7L%2FLSmuI8ElaOMOFYskl91ddZlHgzKls992U0YWULNpX8x2qHZLouKF%2FQCcOhMmeWDfFTz0m%2BMjC8B0mVgk77PBzWmhfhosAxNeyFrsdb2t9yCDwagGOTXZu7EJGouozKP6tM7VRkX%2FU0lpPGqxm0HlmXm8KWuPq%2F%2FSHooJrhJGFO3eGCTmeW157aHHvNiLRzcG0tc270xpOtSgEnn8uzlB6Ohx1S2FKnO6R6Gfi6D3QmLCeSVJyI8ya008iuJ3OrqEd2Irkr9UaUBZrevx2O0RYFLF9uONdZbWN%2Fgg5NANq3iI5cwHdAaf%2BBdn3dO1TrGMj2qCFMlSCQdR%2BBCezbleqNE7%2FaveZdTa9FkngEPz'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 29 Jan 2020 17:27:20 GMT
header: Content-Type: text/html; charset=utf-8
header: Transfer-Encoding: chunked
header: Connection: keep-alive
header: Set-Cookie: cf_clearance=5e177b4b95964615eb4da9e6a26b8396b0b29fe2-1580318839-0-150; path=/; expires=Thu, 30-Jan-20 18:27:19 
GMT; domain=.kissanime.ru; HttpOnly; Secure; SameSite=None
header: Cache-Control: private
header: Set-Cookie: idtz=27.255.29.243-991345901; expires=Wed, 01-Jan-2020 00:00:00 GMT; path=/
header: CF-Cache-Status: DYNAMIC
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Server: cloudflare
header: CF-RAY: 55ccea894a36d9a8-SIN
header: Content-Encoding: gzip
2020-01-29 22:27:19 DESKTOP-18PA6L2 anime_downloader.session[15384] DEBUG uncached request
send: b'GET /Anime/Kaleido-Star-Aratanaru-Tsubasa HTTP/1.1\r\nHost: kissanime.ru\r\nUser-Agent: python-requests/2.22.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nCookie: __cfduid=db3895cc5c52ec03df8524b9de55bbc661580318833; cf_clearance=5e177b4b95964615eb4da9e6a26b8396b0b29fe2-1580318839-0-150\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 29 Jan 2020 17:27:21 GMT
header: Content-Type: text/html; charset=utf-8
header: Transfer-Encoding: chunked
header: Connection: keep-alive
header: Cache-Control: private
header: Set-Cookie: idtz=27.255.29.243-402685219; expires=Wed, 01-Jan-2020 00:00:00 GMT; path=/
header: CF-Cache-Status: DYNAMIC
header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
header: Server: cloudflare
header: CF-RAY: 55ccea901ea1d9a8-SIN
header: Content-Encoding: gzip
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.session[15384] DEBUG uncached request
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG https://kissanime.ru/Anime/Kaleido-Star-Aratanaru-Tsubasa
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG C:\Users\-----~1\AppData\Local\Temp\animedlreejrjxu\tmp524rui6f
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.anime[15384] DEBUG Metadata scraping error: 'charmap' codec can't encode 
characters in position 11611-11617: character maps to <undefined>
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG -----
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG GET https://kissanime.ru/Anime/Kaleido-Star-Aratanaru-Tsubasa
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG {}
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG {'user-agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.4 Safari/532.0'}
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG -----
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.session[15384] DEBUG cached request
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG https://kissanime.ru/Anime/Kaleido-Star-Aratanaru-Tsubasa
2020-01-29 22:27:20 DESKTOP-18PA6L2 anime_downloader.sites.helpers.request[15384] DEBUG C:\Users\------~1\AppData\Local\Temp\animedlreejrjxu\tmp00_jobbh
Traceback (most recent call last):
  File "C:\Python38\Scripts\anime-script.py", line 11, in <module>
    load_entry_point('anime-downloader==4.0.1', 'console_scripts', 'anime')()
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\cli.py", line 53, in main
    cli()
  File "C:\Python38\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "C:\Python38\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "C:\Python38\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Python38\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Python38\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "C:\Python38\lib\site-packages\click\decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\commands\dl.py", line 92, in command
    anime = cls(anime_url, quality=quality,
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\sites\anime.py", line 84, in __init__       
    self._episode_urls = self.get_data()
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\sites\anime.py", line 165, in get_data      
    self._episode_urls = self._scrape_episodes()
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\sites\kissanime.py", line 68, in _scrape_episodes
    soup = helpers.soupify(helpers.get(self.url, cf=True))
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\sites\helpers\request.py", line 71, in setup_func
    _log_response_body(res)
  File "C:\Python38\lib\site-packages\anime_downloader-4.0.1-py3.8.egg\anime_downloader\sites\helpers\request.py", line 144, in _log_response_body
    f.write(res.text)
  File "C:\Python38\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 11611-11617: character maps to <undefined>

and after using cloudscraper. This error appears ERROR: Cloudflare reCaptcha detected, unfortunately, you haven't loaded an anti reCaptcha provider correctly via the 'recaptcha' parameter.

29ayush commented 4 years ago

Yes, as @ngomile said, it's definitely a cfscrape issue. I would just wait for cfscrape instead.

At this point, will all the captcha's, I am just hoping someone would give this program a selenium or something.

whatevea commented 4 years ago

Yes, as @ngomile said, it's definitely a cfscrape issue. I would just wait for cfscrape instead.

At this point, will all the captcha's, I am just hoping someone would give this program a selenium or something.

Selenium is hardly a choice , requires much memory , better if mannually visited and downloaded from the site.

modbender commented 4 years ago

https://github.com/yashas123/animepahe-downloader

uali6981 commented 4 years ago

@yashas123 Thanks for this and is there any way to set DIRECTORY?

modbender commented 4 years ago

Not yet right now. Maybe soon.

uali6981 commented 4 years ago

Animepahe (cfscrape) problem solve somehow. I don,t know how.

whatevea commented 4 years ago

https://github.com/yashas123/animepahe-downloader

this is basically the selenium version ,

whatevea commented 4 years ago

try injecting the referrer header to kwik ,

modbender commented 4 years ago

Animepahe (cfscrape) problem solve somehow. I don,t know how.

Because they stopped the Under Attack mode in security level of cloudflare for the site.

uali6981 commented 4 years ago

@yashas123 are you delete your project animepahe-downloader؟

modbender commented 4 years ago

@uali6981 Didn't delete it, its put on private, there were some problems with it, it's been hard to download from kwik. I'll make it public if things work out.