{"id":39290984,"url":"https://github.com/glumia/polito_dl","last_synced_at":"2026-01-18T01:17:36.958Z","repository":{"id":57454002,"uuid":"65057484","full_name":"glumia/polito_dl","owner":"glumia","description":"Command-line tool and library to download Polytechnic of Turin's online lessons from didattica.polito.it","archived":false,"fork":false,"pushed_at":"2022-01-04T20:36:26.000Z","size":137,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-29T02:26:01.284Z","etag":null,"topics":["docopt","downloader","politecnico","politecnicoditorino","polito","python","tqdm","video"],"latest_commit_sha":null,"homepage":"","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/glumia.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}},"created_at":"2016-08-06T00:35:53.000Z","updated_at":"2024-09-10T06:06:18.000Z","dependencies_parsed_at":"2022-08-29T06:51:28.818Z","dependency_job_id":null,"html_url":"https://github.com/glumia/polito_dl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/glumia/polito_dl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glumia%2Fpolito_dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glumia%2Fpolito_dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glumia%2Fpolito_dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glumia%2Fpolito_dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glumia","download_url":"https://codeload.github.com/glumia/polito_dl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glumia%2Fpolito_dl/sbom","scorecard":{"id":430356,"data":{"date":"2025-08-11","repo":{"name":"github.com/glumia/polito_dl","commit":"897903c1dcc76f81f9d5de3c2584f522089fff05"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/glumia/polito_dl/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/glumia/polito_dl/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/glumia/polito_dl/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/glumia/polito_dl/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/lint.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/lint.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:25","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T03:11:52.270Z","repository_id":57454002,"created_at":"2025-08-19T03:11:52.270Z","updated_at":"2025-08-19T03:11:52.270Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28525989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"ssl_error","status_checked_at":"2026-01-18T00:39:39.467Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docopt","downloader","politecnico","politecnicoditorino","polito","python","tqdm","video"],"created_at":"2026-01-18T01:17:36.873Z","updated_at":"2026-01-18T01:17:36.948Z","avatar_url":"https://github.com/glumia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Test](https://github.com/glumia/polito_dl/workflows/Test/badge.svg?branch=master)\n![Flake8 \u0026 Black](https://github.com/glumia/polito_dl/workflows/Flake8%20\u0026%20Black/badge.svg)\n\npolito_dl - Command-line tool and library to download Polytechnic of Turin's online \nlessons from didattica.polito.it\n\n\n- [Installation](#Installation)\n- [Description](#Description)\n\n\n# Installation\nUbuntu or Debian:\n\n    pip3 install polito_dl\n\n\nWindows:  \n  \nInstall [Python](https://www.python.org/downloads/) (don't forget to check the \"ADD TO \nPATH\" option).  \nThen open the command prompt and type:\n\n    pip3 install polito_dl\n  \n# Description\npolito_dl is a CLI tool and python libray to download video lessons from \ndidattica.polito.it with a simple and powerful command-line interface. It features a \ndownload progress bar and possibility to resume downloads.  \nURL can be the link of a single videolesson or the course's on-line lessons main page.\n\n\n### CLI Interface\n```\n$ polito_dl\nUsage: polito_dl [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  --username TEXT  Do not prompt for username.\n  --password TEXT  Do not prompt for password. (Warning: this could be\n                   insecure, use it only if you know what you are doing.)\n\n  --help           Show this message and exit.\n\nCommands:\n  download           Download lecture(s).\n  print-course-json  Print course information in JSON format.\n\n\n```\n\n#### Download lectures\n```\n$ polito_dl download --help\nUsage: polito_dl download [OPTIONS] URL\n\n  Download lecture(s).\n\nOptions:\n  --all                          Download all course's lectures.\n  --format [video|iphone|audio]  Select media format to download (default:\n                                 video).\n\n  --chunk-size INTEGER           Set downloader chunk size (default: 1MB).\n  --help                         Show this message and exit.\n\n$ polito_dl download \"https://didattica.polito.it/portal/pls/portal/sviluppo.videolezioni.vis?cor=456\u0026arg=Lezioni on-line\u0026lez=19649\"\nUsername: s424242\nPassword: \nAlgoritmi_e_programmazione_lez_02.mp4  [##################------------------]   52%  00:00:04\n```\n\n#### Print course information\n```\n$ polito_dl print-course-json --help\nUsage: polito_dl print-course-json [OPTIONS] URL\n\n  Print course information in JSON format.\n\nOptions:\n  --help  Show this message and exit.\n\n$ polito_dl print-course-json \"https://didattica.polito.it/portal/pls/portal/sviluppo.videolezioni.vis?cor=456\u0026arg=Lezioni on-line\u0026lez=19649\"\nUsername: s424242\nPassword: \n{\n    \"name\": \"Algoritmi e programmazione\",\n    \"professor\": \"Paolo Enrico CAMURATI\",\n    \"lectures\": [\n        {\n            \"name\": \"2020_Lezione 01\",\n            \"date\": \"30/09/2019\",\n            \"path\": \"sviluppo.videolezioni.vis?cor=456\u0026arg=Lezioni%20on-line\u0026lez=19638\",\n            \"topics\": [\n                \"Introduzione al corso\"\n            ]\n        },\n        {\n            \"name\": \"2020_Lezione 02\",\n            \"date\": \"30/09/2019\",\n            \"path\": \"sviluppo.videolezioni.vis?cor=456\u0026arg=Lezioni%20on-line\u0026lez=19649\",\n            \"topics\": [\n                \"L'essenziale del linguaggio C (parte 1)\"\n            ]\n        },\n    ]\n}\n```\n\n### Python library\nCheck `polito_dl/client.py`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglumia%2Fpolito_dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglumia%2Fpolito_dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglumia%2Fpolito_dl/lists"}