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.1.tar.gz
(9.6 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.1-py3-none-any.whl
(13.9 kB
view details)
File details
Details for the file ytsummary-0.1.1.tar.gz.
File metadata
- Download URL: ytsummary-0.1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbfb5b3731dd8ccb8cacc2d7b8d5d226f48c7f36047df09b6b9c73539dc13e89
|
|
| MD5 |
b019c1abccbab2e18f1fdac56cd49f4d
|
|
| BLAKE2b-256 |
41c5cdb80afca4e271d41fd5a3e85a9a3e85487f176757ceea2254dab5b3d8e4
|
File details
Details for the file ytsummary-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ytsummary-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.9 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 |
834360b2d273ceabd0d68997e0297a42c05ed794529037b13823d82564936d0a
|
|
| MD5 |
43071699548cad5643573d8f74d5deac
|
|
| BLAKE2b-256 |
99d667f3b0d9bb5d1111ab588d12b42514d20e810e6aaafaa666ab7b53589406
|