JuanBindez / pytubefix

Python3 library for downloading YouTube Videos.
http://pytubefix.rtfd.io/
MIT License
454 stars 67 forks source link

New Feature for Problematic Characters #173

Closed JuanBindez closed 1 month ago

JuanBindez commented 1 month ago

added new feature that fixes -> #171 #172

remove problematic characters with 'remove_problematic_character'

Example

from pytubefix import YouTube
from pytubefix.cli import on_progress

url = "url"

 yt = YouTube(url, on_progress_callback = on_progress)
print(yt.title)

ys = yt.streams.get_audio_only()
ys.download(mp3=True, remove_problematic_character="?")