debakarr / kodekloud-downloader

Simple downloaded for https://kodekloud.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not download all chapter in courses

ppa1985 opened this issue · comments

when I download a course, download only mostly first and second chapter, not all chapter.
Git for beginner ( first and second chapter only)
CKA ( first, second and third chapter only).

2023-04-19 21:21:32,514 - INFO - Writing resource file... C:\Users\dhs\Documents\my video\KodeKloud\CKA Certification Course – Certified Kubernetes Administrator\3 - Scheduling\33 - Feedback...
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Scripts\kodekloud.exe_main
.py", line 7, in
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\cli.py", line 49, in dl
download_course(url=selected_course.link, cookie=cookie, quality=quality, output_dir=output_dir)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\main.py", line 48, in download_course
download_all_pdf(content=content, download_path=file_path.parent, cookie=cookie)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\helpers.py", line 65, in download_all_pdf
if href.endswith("pdf"):
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'endswith'

LFCS stop at chapter 4 when downloading "feedback" same error of other courses.

Will look into it on weekends

@ppa1985 did you provided the correct cookie information?

It downloads fine for me:
image

Yes, Now I add cookies as you showing.
now stop at chapter 6 and showing this error
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3229, in process_info
partial_success, real_download = self.dl(fname, new_info)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 2970, in dl
return fd.download(name, new_info, subtitle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\common.py", line 444, in download
ret = self.real_download(filename, info_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\http.py", line 376, in real_download
establish_connection()
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\http.py", line 129, in establish_connection
ctx.data = self.ydl.urlopen(request)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3742, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 557, in error
result = self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 749, in http_error_302
return self.parent.open(new, timeout=req.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Scripts\kodekloud.exe_main
.py", line 7, in
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\cli.py", line 49, in dl
download_course(url=selected_course.link, cookie=cookie, quality=quality, output_dir=output_dir)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\main.py", line 37, in download_course
download_video(url=lesson.url, output_path=file_path, cookie=cookie, quality=quality)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\helpers.py", line 50, in download_video
ydl.download(url)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3369, in download
self.__download_wrapper(self.extract_info)(
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3344, in wrapper
res = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1507, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1518, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1615, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1694, in process_ie_result
return self.extract_info(
^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1507, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1518, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1615, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1674, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 2779, in process_video_result
self.process_info(new_info)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3256, in process_info
self.report_error('unable to download video data: %s' % error_to_compat_str(err))
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1015, in report_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 955, in trouble
raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: unable to download video data: HTTP Error 403: Forbidden

I tried to Advanced Golan, there also at chapter 5 and stop. but error is not same.

[info] 790298025: Downloading 1 format(s): dash-fastly_skyfire_sep-video-d83a8c77+dash-fastly_skyfire_sep-audio-025303f8
[dashsegments] Total fragments: 75
[download] Destination: C:\Users\dhs\Documents\my video\KodeKloud\Advanced Golang\5 - API Development Project\11 - Demo Post method 0726.fdash-fastly_skyfire_sep-video-d83a8c77.mp4
WARNING: The download speed shown is only of one thread. This is a known issue
[download] Got error:
[download] 98.7% of ~ 24.33MiB at 2.62MiB/s ETA 00:00 (frag 74/75)ERROR: unable to download video data: [Errno 2] No such file or directory: 'C:\Users\dhs\Documents\my video\KodeKloud\Advanced Golang\5 - API Development Project\11 - Demo Post method 0726.fdash-fastly_skyfire_sep-video-d83a8c77.mp4.part-Frag10'
Traceback (most recent call last):
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\utils.py", line 661, in sanitize_open
raise LockingUnsupportedError()
yt_dlp.utils.LockingUnsupportedError: File locking is not supported

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3229, in process_info
partial_success, real_download = self.dl(fname, new_info)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 2970, in dl
return fd.download(name, new_info, subtitle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\common.py", line 444, in download
ret = self.real_download(filename, info_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\dash.py", line 60, in real_download
return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\fragment.py", line 382, in download_and_append_fragments_multiple
return self.download_and_append_fragments(*args[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\fragment.py", line 508, in download_and_append_fragments
if not append_fragment(decrypt_fragment(fragment, self._read_fragment(ctx)), frag_index, ctx):
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\fragment.py", line 136, in _read_fragment
down, frag_sanitized = self.sanitize_open(ctx['fragment_filename_sanitized'], 'rb')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\common.py", line 235, in wrapper
retry.error_callback(err, 1, 0)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\common.py", line 221, in error_callback
return RetryManager.report_retry(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\utils.py", line 6149, in report_retry
raise e
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\common.py", line 230, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\downloader\common.py", line 241, in sanitize_open
f, filename = sanitize_open(filename, open_mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\utils.py", line 664, in sanitize_open
stream = open(filename, open_mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\dhs\Documents\my video\KodeKloud\Advanced Golang\5 - API Development Project\11 - Demo Post method 0726.fdash-fastly_skyfire_sep-video-d83a8c77.mp4.part-Frag10'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Scripts\kodekloud.exe_main
.py", line 7, in
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\cli.py", line 49, in dl
download_course(url=selected_course.link, cookie=cookie, quality=quality, output_dir=output_dir)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\main.py", line 37, in download_course
download_video(url=lesson.url, output_path=file_path, cookie=cookie, quality=quality)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\kodekloud_downloader\helpers.py", line 50, in download_video
ydl.download(url)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3369, in download
self.__download_wrapper(self.extract_info)(
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3344, in wrapper
res = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1507, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1518, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1615, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1694, in process_ie_result
return self.extract_info(
^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1507, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1518, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1615, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1674, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 2779, in process_video_result
self.process_info(new_info)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 3256, in process_info
self.report_error('unable to download video data: %s' % error_to_compat_str(err))
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 1015, in report_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "C:\Users\dhs\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 955, in trouble
raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: unable to download video data: [Errno 2] No such file or directory: 'C:\Users\dhs\Documents\my video\KodeKloud\Advanced Golang\5 - API Development Project\11 - Demo Post method 0726.fdash-fastly_skyfire_sep-video-d83a8c77.mp4.part-Frag10'

@debakarr ... I got solution, cause of cookies. I refresh browser and took update cookies. Run new process. Now, its ok. but need to run the browser at background and play some course. Its safe. If not running background, after 30 mins, cookies was expire.

Thanks for your helps and inspiration.

can't download this courses " Docker Certified Associate Exam Course, Terraform Basics Training Course ". I tried many times with new cookies again and again.

Give me some time. I will check this.

I am still busy with office work. But what I saw is that the above is know issue yt-dlp/yt-dlp#6526

For now I fallback to youtube-dl which has the fix.
No new release made. Still package can be downloaded via this command pip install -U git+https://github.com/debakarr/kodekloud-downloader.git.

You can try and letme know if that fixes the issue.

port_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "C:\Users\Davide\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\YoutubeDL.py", line 955, in trouble
raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: Unsupported URL: https://kodekloud.com/courses/gcp-cloud-digital-leader-certification/

commented

I am still busy with office work. But what I saw is that the above is know issue yt-dlp/yt-dlp#6526

This is indeed the case.
Release 0.0.5 works fine with monkey-patched yt-dlp.
I was able to download CKA Certification Course, had a bunch of 403s before.

Most of the things should be fixed by now.

ERROR: [generic] None: Unable to download webpage: The read operation timed out (caused by TimeoutError('The read operation timed out')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
2023-04-24 17:35:38,008 - ERROR - Access denied while downloading video or audio file from link https://kodekloud.com/topic/lets-understand-a-use-case/

@debakarr see your screenshot #2 (comment)
There's a nasty bug that saves all the files in a directory with the same content. The filename is correct but when video and audio is merged for some reason the result is not saved. Instead, the content of the first mkv files is saved. See the size on the picture to understand the issue

@debakarr see your screenshot #2 (comment)
There's a nasty bug that saves all the files in a directory with the same content. The filename is correct but when video and audio is merged for some reason the result is not saved. Instead, the content of the first mkv files is saved. See the size on the picture to understand the issue

Try enrolling in the course and provide a recent cookie. It works then. For duplicate content, maybe I will add a check tomorrow.

It works after enrolling, no duplicates anymore. However quite often it hits permission denied when downloading audio or video, so not very reliable when downloading full course

it was ffmpeg complaining due to missing codec. problem solved ;)

Closing this. Please raise new issue if something is not working as expected

Ok, I'll check it out.

On Mon, Apr 24, 2023 at 2:12 PM Debakar Roy @.> wrote: I am still busy with office work. But what I saw is that the above is know issue yt-dlp/yt-dlp#6526 <yt-dlp/yt-dlp#6526> For now I fallback to youtube-dl which has the fix. No new release made. Still package can be downloaded via this command !pip install -U git+https://github.com/debakarr/kodekloud-downloader.git. You can try and letme know if that fixes the issue. — Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQUGIFUM764E4WZVZTIOMLXCYVIDANCNFSM6AAAAAAXEFJ2F4 . You are receiving this because you were mentioned.Message ID: @.>

everything working fine!!!