{"id":27525609,"url":"https://github.com/ankulmaurya88/youtube-comment-extractor","last_synced_at":"2025-04-18T14:27:07.511Z","repository":{"id":288129530,"uuid":"966918956","full_name":"ankulmaurya88/YouTube-Comment-Extractor","owner":"ankulmaurya88","description":"Extract and analyze YouTube video comments using Python, Flask, and the YouTube Data API","archived":false,"fork":false,"pushed_at":"2025-04-15T18:26:02.000Z","size":26959,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T18:28:57.511Z","etag":null,"topics":["comments-analysis","csv-export","data-extraction","django","docker","docker-compose","json-export","web-app","youtube-api","youtube-data-api"],"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/ankulmaurya88.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-15T16:43:41.000Z","updated_at":"2025-04-15T18:26:05.000Z","dependencies_parsed_at":"2025-04-15T18:40:11.407Z","dependency_job_id":null,"html_url":"https://github.com/ankulmaurya88/YouTube-Comment-Extractor","commit_stats":null,"previous_names":["ankulmaurya88/youtube-comment-extractor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankulmaurya88%2FYouTube-Comment-Extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankulmaurya88%2FYouTube-Comment-Extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankulmaurya88%2FYouTube-Comment-Extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankulmaurya88%2FYouTube-Comment-Extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankulmaurya88","download_url":"https://codeload.github.com/ankulmaurya88/YouTube-Comment-Extractor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249504951,"owners_count":21282767,"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":["comments-analysis","csv-export","data-extraction","django","docker","docker-compose","json-export","web-app","youtube-api","youtube-data-api"],"created_at":"2025-04-18T14:27:06.778Z","updated_at":"2025-04-18T14:27:07.505Z","avatar_url":"https://github.com/ankulmaurya88.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📺 YouTube Comment Extractor\n\nThe **YouTube Comment Extractor** is a web-based application that allows users to extract comments from any public YouTube video using the YouTube Data API. It provides a simple UI to input a video URL and download the comments in both CSV and JSON formats. The application is built using Python and Flask, and is deployable with Docker for scalable setups.\n\n---\n\n## 📌 Table of Contents\n\n1. [Features](#-features)\n2. [Screenshots](#-screenshots)\n3. [Input \u0026 Output](#-input--output)\n4. [Technologies Used](#-technologies-used)\n5. [Project Structure](#-project-structure)\n6. [Installation Guide](#-installation-guide)\n7. [Docker Deployment](#-docker-deployment)\n8. [Usage](#-usage)\n9. [License](#-license)\n10. [Author](#-author)\n\n---\n\n## ✨ Features\n\n- ✅ Extracts all top-level and nested YouTube comments using the video URL\n- ✅ Supports comment metadata (author, time, likes, etc.)\n- ✅ Download data as **CSV** or **JSON**\n- ✅ Simple and clean Flask-based web UI\n- ✅ Docker support for easy deployment\n\n---\n\n## 📸 Screenshots\n\n\n\n### 🔹 Home Page \n![Input](assets/input.png)\n\n### 🔹 Extracted Comments Displayed\n![Output](assets/midoutput.png)\n\n\n\n---\n\n## 🧪 Input \u0026 Output\n\n### 📝 Input:\nPaste a public YouTube video URL in the input box, for example:\n\n\n### 📤 Output:\nYou’ll get a table of comments with the following fields:\n\n| Comment ID | Author Name | Comment Text         | Published At         | Like Count |\n|------------|-------------|----------------------|----------------------|------------|\n| abc123     | John Smith  | Great content! 👍     | 2024-06-10 11:30 AM  | 102        |\n| def456     | Jane Doe    | Thanks for sharing 🙏 | 2024-06-10 12:00 PM  | 87         |\n\nYou can download this as:\n- `comments.csv`\n- `comments.json`\n\n---\n\n## 🧰 Technologies Used\n\n| Area         | Tools and Frameworks               |\n|--------------|------------------------------------|\n| Language     | Python 3.8+                        |\n| Backend      | Flask                              |\n| API          | YouTube Data API v3                |\n| Data Export  | Pandas                             |\n| UI           | HTML, CSS                          |\n| Deployment   | Docker, Docker Compose             |\n\n---\n\n## 📁 Project Structure\n\n\n---\n\n## ⚙️ Installation Guide\n\n### Prerequisites\n- Python 3.8+\n- YouTube Data API Key\n- Git\n\n### Steps\n\n```bash\n# Clone the repository\ngit clone https://github.com/ankulmaurya88/YouTube-Comment-Extractor.git\ncd YouTube-Comment-Extractor\n\n# Create and activate virtual environment (optional but recommended)\npython3 -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n\n# Install dependencies\npip install -r requirements.txt\n\n# Add your YouTube API Key\ncp .env.example .env\n# Edit the .env file and add your API key\n\n# Run the Flask app\npython3 manage.py runserver\n```\n---\n## ✨ Docker Deployment\n---\n```bash\n# Clone the repo\ngit clone https://github.com/ankulmaurya88/YouTube-Comment-Extractor.git\ncd YouTube-Comment-Extractor\n\n# Add your API key\ncp .env.example .env\n\n# Build and run with Docker Compose\ndocker-compose up --build\n```\n---\n## 🚀 Usage\n---\n1.Open the app in your browser.\n\n2.Paste a valid YouTube video URL.\n\n3.Click “Extract Comments.”\n\n4.View results in a table format.\n\n5.Download the comments in CSV or JSON format.\n\n\n\n\n## 📄 License\n---\n-This project is licensed under the MIT License – see the LICENSE file for details.\n\n\n## 👤 Author\n---\nAnkul Maurya\n\nGitHub: @ankulmaurya88\n\nLinkedIn: linkedin.com/in/ankulmaurya\n\n---\n\n\n\n### Key Updates:\n- **Input and Output**: Clearly describes the expected format of the input (YouTube URL) and output (comments table with fields).\n- **Technologies Used**: Listed the main tools and frameworks.\n- **Project Structure**: Detailed the file structure, making it easier for developers to understand the organization of the codebase.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankulmaurya88%2Fyoutube-comment-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankulmaurya88%2Fyoutube-comment-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankulmaurya88%2Fyoutube-comment-extractor/lists"}