Closed kanthucourses closed 2 months ago
I have the same issue
For now, fixed in changes pushed.
Try installing using pip install -U git+https://github.com/debakarr/kodekloud-downloader.git
i have tried this but still the same issue. can you please check it
i have tried this but still the same issue. can you please check it
Hi, from your terminal can you do pip freeze
and paste the output here?
i have tried this but still the same issue. can you please check it
Hi, from your terminal can you do
pip freeze
and paste the output here?
C:\Users\srika>pip freeze beautifulsoup4==4.12.2 Brotli==1.1.0 certifi==2023.7.22 charset-normalizer==3.2.0 click==8.1.7 colorama==0.4.6 decorator==5.1.1 idna==3.4 kodekloud-downloader @ git+https://github.com/debakarr/kodekloud-downloader.git@44ad618925cfa8895528b94ee7ebbd733d20036c markdownify==0.11.6 mutagen==1.47.0 prettytable==3.9.0 pycryptodomex==3.19.0 requests==2.31.0 six==1.16.0 soupsieve==2.5 urllib3==2.0.5 validators==0.20.0 wcwidth==0.2.6 websockets==11.0.3 yt-dlp==2023.9.24 please check it
@kanthucourses Looks like it is pointing to older commit. I did made a release yesterday. Try doing
pip uninstall kodekloud-downloader -y
pip install -U kodekloud-downloader
@kanthucourses Looks like it is pointing to older commit. I did made a release yesterday. Try doing
pip uninstall kodekloud-downloader -y pip install -U kodekloud-downloader
thank you so much.. it is working fine now
hi, i got error in the middle of download. can you please check it WARNING: The download speed shown is only of one thread. This is a known issue [download] 96.6% of ~ 15.19MiB at 310.27KiB/s ETA 00:01 (frag 28/29)Traceback (most recent call last): File "c:\users\srika\appdata\local\programs\python\python38\lib\urllib\request.py", line 1317, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "c:\users\srika\appdata\local\programs\python\python38\lib\http\client.py", line 1230, in request self._send_request(method, url, body, headers, encode_chunked) File "c:\users\srika\appdata\local\programs\python\python38\lib\http\client.py", line 1276, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "c:\users\srika\appdata\local\programs\python\python38\lib\http\client.py", line 1225, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "c:\users\srika\appdata\local\programs\python\python38\lib\http\client.py", line 1004, in _send_output self.send(msg) File "c:\users\srika\appdata\local\programs\python\python38\lib\http\client.py", line 944, in send self.connect() File "c:\users\srika\appdata\local\programs\python\python38\lib\http\client.py", line 1399, in connect self.sock = self._context.wrap_socket(self.sock, File "c:\users\srika\appdata\local\programs\python\python38\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "c:\users\srika\appdata\local\programs\python\python38\lib\ssl.py", line 1040, in _create self.do_handshake() File "c:\users\srika\appdata\local\programs\python\python38\lib\ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1108)
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 4051, in urlopen return self._request_director.send(req) File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\networking\common.py", line 114, in send response = handler.send(request) File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\networking_helper.py", line 204, in wrapper return func(self, *args, **kwargs) File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\networking\common.py", line 325, in send return self._send(request) File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\networking_urllib.py", line 424, in _send handle_response_read_exceptions(cause) File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\networking_urllib.py", line 342, in handle_response_read_exceptions handle_sslerror(e) File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\networking_urllib.py", line 335, in handle_sslerror raise SSLError(cause=e) from e yt_dlp.networking.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1108)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\users\srika\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\srika\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\srika\AppData\Local\Programs\Python\Python38\Scripts\kodekloud.exe__main.py", line 7, in
+1 I also faced the same issue download is stopped in the middle Can you please help me on this? I want to download videos with audio in this free week
+1 I also faced the same issue download is stopped in the middle Can you please help me on this? I want to download videos with audio in this free week
May I know which course you are trying?
+1 I also faced the same issue download is stopped in the middle Can you please help me on this? I want to download videos with audio in this free week
May I know which course you are trying?
I tried ArgoCD
+1 I also faced the same issue download is stopped in the middle Can you please help me on this? I want to download videos with audio in this free week
May I know which course you are trying?
i have tried jenkins,terraform
I tried downloading course with colab working fine, but on local it is stopping at middle Anyways main moto is to get course that is successful. @debakarr Thank you so much for this!!!
Hi, I was able to download 1 course but if I'm trying to download other course via colab at this command I'm running into an error
MOUNT DRIVE
from google.colab import drive drive.mount('/content/drive')
ValueError Traceback (most recent call last)
1 frames /usr/local/lib/python3.10/dist-packages/google/colab/drive.py in _mount(mountpoint, force_remount, timeout_ms, ephemeral, readonly) 190 raise ValueError('Mountpoint must not be a symlink') 191 if _os.path.isdir(mountpoint) and _os.listdir(mountpoint): --> 192 raise ValueError('Mountpoint must not already contain files') 193 if not _os.path.isdir(mountpoint) and _os.path.exists(mountpoint): 194 raise ValueError('Mountpoint must either be a directory or not exist')
ValueError: Mountpoint must not already contain files
I also tried with this
from google.colab import drive drive.mount('/content/drive' , force_remount = True)
but I'm getting same error
Can you please help me out?
To download other course you can just run the last cell again and give the new number.
please help me out to solve this..here is the error message
+-----+-----------------------------------------------------------------------------+---------+------------------------------------------------------------------------+ Enter the courses you want to select (Multiple courses can be passes using this format 1,6-9,10-11): 32 Traceback (most recent call last): File "c:\users\srika\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\srika\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\srika\AppData\Local\Programs\Python\Python38\Scripts\kodekloud.exe__main.py", line 7, in
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, kwargs)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\click\core.py", line 783, in invoke
return callback(*args, *kwargs)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\kodekloud_downloader\cli.py", line 50, in dl
download_course(
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\kodekloud_downloader\main.py", line 50,in download_course
video_info = get_video_info(lesson.url, cookie=cookie).get("url")
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\kodekloud_downloader\helpers.py", line 154, in get_video_info
info = ydl.extract_info(url, download=False)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1556, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1567, in wrapper
return func(self, args, **kwargs)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1702, in __extract_info
ie_result = ie.extract(url)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\extractor\common.py", line 715, in extract
ie_result = self._real_extract(url)
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\extractor\generic.py", line 2430, in _real_extract
full_response = self._request_webpage(url, video_id, headers={
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\yt_dlp\extractor\common.py", line 847, in _request_webpage
return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
File "c:\users\srika\appdata\local\programs\python\python38\lib\site-packages\kodekloud_downloader\yt_dlp_patch.py", line 14, in _patched_urlopen
url = req.get_full_url()
AttributeError: 'Request' object has no attribute 'get_full_url'