YouTube video summary generator
Project description
YTSummary
YouTube 비디오의 자막을 추출하고 요약하는 Python 라이브러리입니다.
설치 방법
pip install ytsummary
사용 방법
from ytsummary.youtube_utils import extract_video_id, get_transcript
from ytsummary.summarizer import summarize_text
# YouTube URL에서 비디오 ID 추출
video_url = "https://www.youtube.com/watch?v=your_video_id"
video_id = extract_video_id(video_url)
# 자막 가져오기
transcript = get_transcript(video_id)
# 자막 요약하기
summary = summarize_text(transcript)
print(summary)
주요 기능
- YouTube 비디오 ID 추출
- 자막 추출 (YouTube Transcript API 사용)
- 텍스트 요약
의존성
- requests
- beautifulsoup4
- youtube_transcript_api
- transformers
- torch
라이선스
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ytsummary-0.1.0.tar.gz
(9.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ytsummary-0.1.0-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file ytsummary-0.1.0.tar.gz.
File metadata
- Download URL: ytsummary-0.1.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf53f72efe24bea1ddb9e598dd663447d218b0f3f22612aee68b7e15128ed6f9
|
|
| MD5 |
6971f56e8baee359c5a843d12a0a5ffd
|
|
| BLAKE2b-256 |
0350bf40f1e98cb5d0f4a9c020510737738ce32b74d34a1cfe520e27c23ea520
|
File details
Details for the file ytsummary-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ytsummary-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e712afd5df78dc776825bdf79360b5193214f40ca469312bda85eb9c7fe437a
|
|
| MD5 |
3118e07027d2e694a27c83f04d2a5888
|
|
| BLAKE2b-256 |
f3ec705e5b4d6271ef96d1ddc64a0c6b0a9fb27590970e8f9294d7e01320ab4e
|