Comments (18)
I was debugging this for a bit today and couldn't seem to get around it, that's annoying
from crunchyroll-dl.
It's works on youtube-dl with cookie file (no captcha required), but all tools (cr-dl, crunchy-dl, cr-dl, crunchyroll-dl and others) doesn't work with login/password ... (I tried a lot of testing haha..)
Thx to Cloudflare 🥺
from crunchyroll-dl.
@AlexIsOK He fixed this with change with TLSv1.3 (for login).
https://github.com/anidl/crunchyroll-downloader-nx/commit/8d853d0d8bdcc88b03a2d59ee6fb80fef9c038b9
Maybe this helps?
--tls-min-v1.3 set default TLS minimum to TLSv1.3 (default: TLSv1.2)
from crunchyroll-dl.
Yeah :(
It's getting a lot harder now to work on this since I keep getting captchas from Cloudflare. Hopefully I'll have something but it's take a while
from crunchyroll-dl.
I'll look into this as well. I got it to (sort of) work by calling py3 from the Node runtime and having it use this Python cloudscraper but that requires the user to have Python3 installed and has to check to see if the PIP3 dependencies are met.
Edit: those changes are available here if you want to see.
Edit 2: I haven't committed the changes that work yet, so I'll do that right now.
from crunchyroll-dl.
In most command line programs, arguments that are more than one character should start with two hyphens rather than one, so you should be able to fix this by changing -vilos
to --vilos
.
Hope this helps!
Edit: in most programs, if you have -vilos
rather than --vilos
, it will try to read it like -v -i -l -o -s
instead of the intended behavior.
from crunchyroll-dl.
Yes, I made a mistake in the command line, but the error remains the same (Captcha of Cloudflare)
from crunchyroll-dl.
This does not seem to be happening to me (United States). Could this be a regional issue?
Edit: started happening to me on my Windows VM when trying this, but not on my main OS.
from crunchyroll-dl.
I found out what is most likely causing the issue, the package cloudscraper that this uses has been deprecated. The only other (updated) CF bypass I've seen is written in Python, but I'll look around and see if there's another library to use.
from crunchyroll-dl.
This exist :
RyuzakiH/CloudflareSolverRe#29
from crunchyroll-dl.
Im getting this error only when use -s soft
from crunchyroll-dl.
@ArturiaPendragon that library is made using C#, I'm not sure that you can port that to NodeJS.
I'm looking into libraries for this right now, I'll make a PR if I find anything.
from crunchyroll-dl.
Hmm, not sure if the library this uses supports the manual setting of TLS from first glance, will need more investigation
from crunchyroll-dl.
This isn't solved yet, right? :(
from crunchyroll-dl.
@simplymemes on my fork on branch patch-2, I'm getting an error with this regex. CR may have changed the div class of what you're trying to match. Downloading single episodes works fine for me though.
I was able to make a (horrible) fix by running the Python cloudscraper I mentioned before (which works very well, but the user must have pip3 and python3 installed, and must have pip3 install cloudscraper).
Unless there's a cloudscraper for NodeJS that works, I don't see an easy way to do this, though I could easily be missing something.
PS. the cloudscraper can get the content of the CF page, but the regex doesn't match.
from crunchyroll-dl.
I might be interested in the python solution, once i have pip3, python3 and pip3 install the only thing needed is running the cloudscraper?
from crunchyroll-dl.
@Owyii It doesn't work until the regex is fixed, and I found that the downloader works a lot better if you download the individual episode rather than all of them or series at a time. Maybe this could be helpful for a future patch?
from crunchyroll-dl.
@AlexIsOK I am able to download the single episode if the subtitle are hardsubbed, however as soon i try to download with softsub I get error 403
from crunchyroll-dl.
Related Issues (20)
- Problem when try to download with unblock flag HOT 4
- Download stop working HOT 6
- Login with a cookie file HOT 1
- UnhandledPromiseRejectionWarning: incorrect header check HOT 1
- Cannot solve CAPTCHA automatically! Please try again later. HOT 3
- How can I download the anime without subtitles?
- How do I download all episodes after a certain one?
- stream_data field missing in info responses HOT 1
- Unhandled Promise Error 403 HOT 4
- add method cookie injection
- "Could not get episode!” error message
- Dependencies issues
- (node:3481) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1' of null HOT 2
- How to fix this?
- Cannot download videos with soft subs HOT 1
- Incompatible With New Beta Site
- Error: "Cannot solve CAPTCHA automatically! Please try again later" HOT 1
- json idea
- Bug, TypeError: Cannot read properties of undefined (reading 'session_id') HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crunchyroll-dl.