Closed Ecliptix closed 7 years ago
Post the output of strace -f youtube-dl -F http://www.crunchyroll.com/aho-girl/episode-2-aho-girl-multiplies-741345
, curl -v http://www.crunchyroll.com/aho-girl/episode-2-aho-girl-multiplies-741345
.
Attached as requested:
I am seeing the same issue. Issue appears to be with login, removing my login from .netrc and accessing as "guest/free" users works fine.
I have the problem even if I don't use cookies / login, so I think it's a different issue. The test cases that come with youtube-dl also fail with the same message:
$ python test/test_download.py TestDownload.test_Crunchyroll [Crunchyroll] 645513: Downloading webpage ERROR: Unable to download webpage: timed out (caused by timeout('timed out',)) File "/tmp/youtube-dl/youtube_dl/extractor/common.py", line 502, in _request_webpage return self._downloader.urlopen(url_or_request) File "/tmp/youtube-dl/youtube_dl/YoutubeDL.py", line 2137, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/tmp/youtube-dl/youtube_dl/utils.py", line 974, in http_response content = resp.read() File "/usr/lib/python3.6/http/client.py", line 456, in read return self._readall_chunked() File "/usr/lib/python3.6/http/client.py", line 563, in _readall_chunked chunk_left = self._get_chunk_left() File "/usr/lib/python3.6/http/client.py", line 546, in _get_chunk_left chunk_left = self._read_next_chunk_size() File "/usr/lib/python3.6/http/client.py", line 506, in _read_next_chunk_size line = self.fp.readline(_MAXLINE + 1) File "/usr/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b)
Retrying: 1 failed tries
It appears that it may be Cloudflare (Crunchyroll's CDN) throttling the connection and causing it to timeout, as it works from a different IP. Closing this issue.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2017.07.09. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-v
flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
Started happening today -- yt-dl always times out when attempting to download from Crunchyroll, I also tried the embedded test cases with the same issue. I am able to access the site just fine in Chrome and Firefox. Seems like they made some change on their side, not sure how to troubleshoot it further.