Closed ppa1985 closed 1 year ago
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 "
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:
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 "
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:
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 "
@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.
thanks
On Mon, Apr 24, 2023 at 7:37 AM Debakar Roy @.***> wrote:
Give me some time. I will check this.
— Reply to this email directly, view it on GitHub https://github.com/debakarr/kodekloud-downloader/issues/2#issuecomment-1519233622, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQUGIG4HRFHE2HZGJ565CTXCXG5TANCNFSM6AAAAAAXEFJ2F4 . You are receiving this because you were mentioned.Message ID: @.***>
I am still busy with office work. But what I saw is that the above is know issue https://github.com/yt-dlp/yt-dlp/issues/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.
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 https://github.com/yt-dlp/yt-dlp/issues/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 https://github.com/debakarr/kodekloud-downloader/issues/2#issuecomment-1519550211, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQUGIFUM764E4WZVZTIOMLXCYVIDANCNFSM6AAAAAAXEFJ2F4 . You are receiving this because you were mentioned.Message ID: @.***>
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/
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 https://github.com/debakarr/kodekloud-downloader/issues/2#issuecomment-1518501674 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 https://github.com/debakarr/kodekloud-downloader/issues/2#issuecomment-1518501674 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!!!
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).