Support more generic inputs by accepting a list of sources and processing them using urlparse.urlparse. urlparse.ParseResult instances are passed in to the can_extract and extract methods of ExtractionInterface plugin instances. In the case where the scheme of a ParseResult is either file or empty then the path represented is checked to determine if it is a directory. If so, the files within it are treated as individual sources.
Support more generic inputs by accepting a list of sources and processing them using urlparse.urlparse. urlparse.ParseResult instances are passed in to the can_extract and extract methods of ExtractionInterface plugin instances. In the case where the scheme of a ParseResult is either file or empty then the path represented is checked to determine if it is a directory. If so, the files within it are treated as individual sources.

slventures/jormungand