{"id":20114698,"url":"https://github.com/gatenlp/youtube-scraper","last_synced_at":"2025-03-02T19:15:34.220Z","repository":{"id":145771272,"uuid":"235852459","full_name":"GateNLP/youtube-scraper","owner":"GateNLP","description":"Scrape Youtube Data","archived":false,"fork":false,"pushed_at":"2023-12-01T12:07:54.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-13T06:10:42.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GateNLP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-01-23T17:51:30.000Z","updated_at":"2023-12-01T12:00:32.000Z","dependencies_parsed_at":"2023-12-01T13:53:30.125Z","dependency_job_id":"4f8b8c6f-de2e-4b51-8793-6ad3f078dc2c","html_url":"https://github.com/GateNLP/youtube-scraper","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/GateNLP%2Fyoutube-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GateNLP%2Fyoutube-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GateNLP%2Fyoutube-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GateNLP%2Fyoutube-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GateNLP","download_url":"https://codeload.github.com/GateNLP/youtube-scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241557194,"owners_count":19981881,"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-13T18:31:25.302Z","updated_at":"2025-03-02T19:15:34.197Z","avatar_url":"https://github.com/GateNLP.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Youtube-Scraper\n\nYoutube scraper can be used to get JSON data from Youtube. It has 2 scripts i.e. keyword search and comment and reply extraction. Both the scripts are built on the top of Youtube API.\n\n## Keyword Search\n\nA search result contains information about a YouTube videos that matches the keywords in an API request. The command line script keyword-search-script.py contains the following parameters.\n\n* First Parameter: Private API Key (************)\n* Second Parameter: Keywords\n* Third Parameter: Number of results needed (Enter a multiple of 50)\n\nIf all the results are needed then just enter 'all' in case of third parameter.\nExample:\n\n```bash\npython keyword-search-script.py ************ \"Green Day\" all\n```\n\nThe JSON data gets saved as keyword_search.json in the same directory.\n\n## Comments and Replies\n\nThis fetches all the comment and replies associated with particulare Youtube video ID. The command line script get-comments-script.py contains the following parameters.\n\n* First Parameter: Private API Key (************)\n* Second Parameter: Video ID\n\nExample:\n\n```bash\npython get-comments-script.py ************ i-2zY4BdP1s\n```\n\nThe JSON data gets saved as comments.json in the same directory.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatenlp%2Fyoutube-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgatenlp%2Fyoutube-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatenlp%2Fyoutube-scraper/lists"}