Skip to content

Releases: JuanBindez/pytubefix

Pytubefix 1.6.0 Released

14 Oct 13:11
Compare
Choose a tag to compare

Release Notes:

  • added documentation

pytubefix 1.5.0 Released

09 Oct 13:18
Compare
Choose a tag to compare

Release Note:

Pytubefix 1.4.1 Released

04 Oct 18:05
Compare
Choose a tag to compare

Release Notes:

  • performance improvements

  • fixed another problem with video titles.

Pytubefix 1.3.0 Released

02 Oct 13:42
Compare
Choose a tag to compare

Release Notes:

  • added method to save subtitles in txt file in captions.py
def save_captions(self, filename: str):
        """Generate and save "SubRip Subtitle" captions to a text file.

        Takes the xml captions from :meth:`~pytubefix.Caption.xml_captions` and
        recompiles them into the "SubRip Subtitle" format and saves it to a text file.
        
        :param filename: The name of the file to save the captions.
        """
        srt_captions = self.xml_caption_to_srt(self.xml_captions)
        
        with open(filename, 'w', encoding='utf-8') as file:
            file.write(srt_captions)

Usage:

from pytubefix import YouTube
 

yt = YouTube('http://youtube.com/watch?v=2lAe1cqCOXo')

caption = yt.captions.get_by_language_code('en')
caption.save_captions("captions.txt")

Pytubefix 1.2.0 Released

01 Oct 23:30
Compare
Choose a tag to compare

Release Notes:

  • performance improvements

pytubefix 1.1.2 Release

28 Sep 14:36
Compare
Choose a tag to compare

Release Note:

Bugfix:

  • Fix AttributeError: 'NoneType' object has no attribute 'span'

pytubefix 1.1.1 Released

27 Sep 13:16
Compare
Choose a tag to compare

Release Note:

cli improvements

Bugfix:

fixed issue affecting Innertube (1#)

Contributor:

ElsevarAsadov

pytubefix 1.0.0 Released

25 Sep 14:54
2045074
Compare
Choose a tag to compare

Release Notes:

  • added feature to change the color of the cli mode progress bar every time you download.
  • added parameter mp3=True passed to the download(mp3=True) method to save the audios in mp3

Bugfix:

  • Fixed issue that affected video titles that were incomplete.