{"id":20829774,"url":"https://github.com/rattletat/caption-party","last_synced_at":"2026-04-14T12:34:19.435Z","repository":{"id":131070727,"uuid":"149674898","full_name":"rattletat/caption-party","owner":"rattletat","description":"Topic modeling of German parties based on YouTube video data","archived":false,"fork":false,"pushed_at":"2019-09-05T16:16:22.000Z","size":95082,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T18:53:48.942Z","etag":null,"topics":["caption","command-line-tool","natural-language-processing","party","politics","subtitles","topic-modeling","youtube-api","youtube-dl"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rattletat.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":"2018-09-20T21:52:44.000Z","updated_at":"2020-06-03T15:08:04.000Z","dependencies_parsed_at":"2023-05-11T19:15:44.578Z","dependency_job_id":null,"html_url":"https://github.com/rattletat/caption-party","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattletat%2Fcaption-party","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattletat%2Fcaption-party/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattletat%2Fcaption-party/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattletat%2Fcaption-party/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rattletat","download_url":"https://codeload.github.com/rattletat/caption-party/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243179907,"owners_count":20249187,"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":["caption","command-line-tool","natural-language-processing","party","politics","subtitles","topic-modeling","youtube-api","youtube-dl"],"created_at":"2024-11-17T23:21:59.181Z","updated_at":"2025-12-24T12:57:35.256Z","avatar_url":"https://github.com/rattletat.png","language":"Jupyter Notebook","readme":"# caption-party\n\nThis script allows downloading subtitles and other metadata\nfrom Youtube channels using the [YouTube API v3](https://developers.google.com/youtube/v3/docs/) and [youtube-dl](https://github.com/ytdl-org/youtube-dl/) (avoiding heavy quota costs).\n\nTopic and metadata analysis is done within [jupyter notebooks](https://jupyter.org/) in `analysis\\`.\n\n![Top 20 words in a period of 3 month before the Bundestag elections using (TF-IDF)[https://en.wikipedia.org/wiki/Tf%E2%80%93idf]](rsc/tfidf.png)\n\n## Script arguments:\n\n- **fetch**:\n*Download video captions from one or multiple parties to\n`subtitles\\{party}\\{video}`.\nUse argument `all` to fetch videos\nfrom every party specified in the json file.*\n\n## Examples:\n- `python connect.py fetch spd cdu --after-date 01.01.2017 --before-date 01.01.2018`\n- `python connect.py fetch all --videos-per-channel -1 --key client_secret.json`\n\n## Requirements:\n- [Google API Client](https://github.com/googleapis/google-api-python-client)\n- [Google Auth Library](https://github.com/googleapis/google-auth-library-python)\n- [youtube-dl](https://github.com/rg3/youtube-dl)\n- [click](https://github.com/pallets/click)\n- [word_cloud](https://github.com/amueller/word_cloud)\n\n\n`sudo pip install google-api-python-client google-auth youtube-dl click wordcloud`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frattletat%2Fcaption-party","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frattletat%2Fcaption-party","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frattletat%2Fcaption-party/lists"}