{"id":20017340,"url":"https://github.com/devlarley/learnystdownloader","last_synced_at":"2025-05-04T22:31:52.085Z","repository":{"id":255022838,"uuid":"848299701","full_name":"DevLARLEY/LearnystDownloader","owner":"DevLARLEY","description":"Downloads encrypted/unencrypted videos/audio/pdf/html/images from Learnyst","archived":false,"fork":false,"pushed_at":"2024-09-14T21:17:06.000Z","size":93,"stargazers_count":18,"open_issues_count":2,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T13:49:56.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevLARLEY.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-27T14:06:00.000Z","updated_at":"2025-02-23T10:44:09.000Z","dependencies_parsed_at":"2024-09-06T23:41:58.029Z","dependency_job_id":null,"html_url":"https://github.com/DevLARLEY/LearnystDownloader","commit_stats":null,"previous_names":["devlarley/learnystdownloader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLARLEY%2FLearnystDownloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLARLEY%2FLearnystDownloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLARLEY%2FLearnystDownloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevLARLEY%2FLearnystDownloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevLARLEY","download_url":"https://codeload.github.com/DevLARLEY/LearnystDownloader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252408411,"owners_count":21743117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T08:15:38.338Z","updated_at":"2025-05-04T22:31:51.785Z","avatar_url":"https://github.com/DevLARLEY.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca\u003e\u003cimg src=\"learnyst.png\"\u003e\u003c/a\u003e\u003c/p\u003e\r\n\u003ch1 align=\"center\" style=\"font-size: value;\"\u003eLearnyst Downloader\u003c/h1\u003e\r\n\r\n## Info\r\nPlease open an issue if you're getting a 419 error when requesting an lst license. \\\r\nThe error is caused by learnyst changing the api version.\r\n\r\n## Requirements\r\n+ [Python 3.12](https://www.python.org/)\r\n+ [L3 CDM](https://forum.videohelp.com/threads/408031)\r\n\r\n## Installation\r\n+ Install the requirements: `python -m pip install -r requirements.txt`\r\n+ Download and Install Playwright Chromium `playwright install chromium`\r\n+ Place either the `mp4decrypt` or `shaka-packager` binary in the `bin` directory. Make sure they're named correctly.\r\n+ Place either the `ffmpeg` or `mkvmerge` binary in the `bin` directory. Make sure they're named correctly.\r\n+ Place your CDM in the `cdm` folder\r\n\r\n## Usage\r\nEnter your `authToken` cookie when first starting the program\r\n\r\n\u003e [!NOTE]  \r\n\u003e Enter the full URL, even if you're downloading PDFs, as they're not downloaded automatically along with the video.\r\n\r\n```ruby\r\nusage: python learnyst.py [-h] --url URL [--debug]\r\n\r\nAuthor: github.com/DevLARLEY\r\n\r\noptions:\r\n  -h, --help    show this help message and exit\r\n  --url URL     Full course URL\r\n  --debug, --d  Print debug information\r\n```\r\n\r\n## Example output\r\n```ruby\r\n[INFO]: Verifying token...\r\n[INFO]: Requesting course id...\r\n[INFO]: Requesting course data...\r\n[INFO]: Content Type =\u003e ENCRYPTED_VIDEO\r\n[INFO]: Getting signed URL...\r\n[LOG] Installed Player Polyfills\r\n[LOG] EmeEncryptionSchemePolyfill: EME not found\r\n[LOG] McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.\r\n[INFO]: Getting license request...\r\n[INFO]: Requesting lst license...\r\n[INFO]: Decrypting lst license...\r\n[INFO]: Setting lst license...\r\n[INFO]: Setting drm data...\r\n[INFO]: Decrypting file...\r\n[LOG] Reading input data...\r\n[LOG] Decryption started...\r\n[LOG] Returning...\r\n[INFO]: Downloading vHQStream.mp4...\r\n100% [........................................................................] 53729798 / 53729798\r\n[INFO]: Downloading aStream.mp4...\r\n100% [........................................................................] 23104604 / 23104604\r\n[INFO]: Decrypting vHQStream.mp4 (this can take a while)...\r\n[LOG] Reading input data...\r\n[LOG] Decryption started...\r\n[LOG] Warning: Enlarging memory arrays, this is not fast! 16777216,53870592\r\n[LOG] Warning: Enlarging memory arrays, this is not fast! 53870592,64684032\r\n[LOG] Returning...\r\n[INFO]: Decrypting aStream.mp4 (this can take a while)...\r\n[LOG] Reading input data...\r\n[LOG] Decryption started...\r\n[LOG] Returning...\r\n[INFO]: Getting license request...\r\n[INFO]: Requesting lgdrm license...\r\n[INFO]: Decrypting lgdrm license...\r\n[INFO]: Decrypting using mp4decrypt...\r\n[INFO]: Decrypting using mp4decrypt...\r\n[INFO]: Muxing using mkvmerge...\r\nWarning: Quicktime/MP4 reader: Track ID 0 has more than one FourCC. Only using the first one (0x61766331 \"avc1\": AVC/H.264/MPEG-4p10) and not this one (0x61766331 \"avc1\": AVC/H.264/MPEG-4p10).\r\nWarning: Quicktime/MP4 reader: Track ID 0 has more than one FourCC. Only using the first one (0x6d703461 \"mp4a\": AAC) and not this one (0x6d703461 \"mp4a\": AAC).\r\n[INFO]: Decrypted Video/Audio =\u003e \u003cvideo\u003e.mkv\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlarley%2Flearnystdownloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlarley%2Flearnystdownloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlarley%2Flearnystdownloader/lists"}