Skip to content

Reference for youtube_dl_scraper/converter/base_converter.py

youtube_dl_scraper.converter.base_converter.BaseConverter

BaseConverter(input_path, output_path)

Base class for converters

Source code in youtube_dl_scraper/converter/base_converter.py
4
5
6
7
def __init__(self, input_path, output_path):
    """Intialize setup converter."""
    self.input_path = input_path
    self.output_path = output_path
convert
convert()

Converts media to specified format/codec

Source code in youtube_dl_scraper/converter/base_converter.py
def convert(self):
    "Converts media to specified format/codec"
    raise NotImplementedError("This method should be implemented by subclasses.")