Video_note_generator

#小红书

Use Python to convert videos into high-quality Xiaohongshu notes in one click, automatically optimize content and illustrations. The code is open source. Thanks to the author Xuanqing

Application scenarios

  • Content creators: quickly convert videos/live content into articles
  • Knowledge managers: automatically organize video notes and learning points
  • Social media operations: batch generate high-quality Xiaohongshu notes

https://github.com/whotto/Video_note_generator

git clone [email protected]:whotto/Video_note_generator.git

pip install -r requirements.txt

cp .env.example .env

注意:以下环境变量未设置:

  • UNSPLASH_REDIRECT_URI (用于Unsplash回调)

python video_note_generator.py urls.txt

requirements

pip install yt-dlp

openai>=1.0.0
httpx>=0.24.1
yt-dlp>=2023.11.16
openai-whisper>=2023.11.17
python-dotenv>=1.0.0
requests>=2.31.0
beautifulsoup4>=4.12.2
python-unsplash>=1.1.0
Pillow>=10.1.0
urllib3>=2.1.0
certifi>=2023.11.17
ffmpeg-python>=0.2.0

# Optional dependencies for better performance
torch>=2.1.0
pytube>=15.0.0
you-get>=0.4.1650