debakarr / kodekloud-downloader

Simple downloaded for https://kodekloud.com/
129 stars 42 forks source link

Facing issue in colab #58

Open harry3potter opened 6 days ago

harry3potter commented 6 days ago

Asking to restart at "!pip install -U git+https://github.com/debakarr/kodekloud-downloader.git --force-reinstall"

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. ipython 7.34.0 requires jedi>=0.16, which is not installed. moviepy 1.0.3 requires decorator<5.0,>=4.0.2, but you have decorator 5.1.1 which is incompatible. Successfully installed annotated-types-0.7.0 beautifulsoup4-4.12.3 brotli-1.1.0 certifi-2024.8.30 charset-normalizer-3.3.2 click-8.1.7 decorator-5.1.1 idna-3.9 kodekloud-downloader-0.1.0 markdownify-0.11.6 mutagen-1.47.0 prettytable-3.11.0 pycryptodomex-3.20.0 pydantic-2.9.1 pydantic-core-2.23.3 requests-2.32.3 six-1.16.0 soupsieve-2.6 typing-extensions-4.12.2 urllib3-2.2.3 validators-0.20.0 wcwidth-0.2.13 websockets-13.0.1 yt-dlp-2023.12.30 WARNING: The following packages were previously imported in this runtime: [certifi,decorator,six,wcwidth] You must restart the runtime in order to use newly installed versions.

debakarr commented 6 days ago

You can cancel the restart in colab and it should work. Else you can just restart the runtime and execute the follow up cells.

harry3potter commented 6 days ago

@debakarr

  1. I Ignored restart and tried to download. I'm able to download now. But do you have any wallk around for Let's say I've downloaded course today, I'm unable to download courses tomorrow. I don't have to execute all steps in the colab again right?

  2. I'm facing below Access denied issue

    Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/yt_dlp/extractor/common.py", line 850, in _request_webpage return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query)) File "/usr/local/lib/python3.10/dist-packages/yt_dlp/YoutubeDL.py", line 4114, in urlopen raise _CompatHTTPError(e) from e yt_dlp.networking.exceptions._CompatHTTPError: HTTP Error 530: None

2024-09-16 05:07:56,611 - ERROR - Access denied while downloading video or audio file from link https://player.vimeo.com/video/953273640?share=copy ERROR: [vimeo] 953273640: Unable to download webpage: HTTP Error 530: None (caused by <HTTPError 530: None>); 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

[ ]

debakarr commented 5 days ago

I think the current session token expires within 1 hour or so. So I am guessing you need to re-upload the cookie.