langchain/document_loaders/blackboard.py/BlackboardLoader/download
class BlackboardLoader:    def download(self, path: str) -> None:
        """Download a file from a url.

        Args:
            path: Path to the file.
        """
        # Get the file content
        response = self.session.get(self.base_url + path, allow_redirects=True)
        # Get the filename
        filename = self.parse_filename(response.url)
        # Write the file to disk
        with open(Path(self.folder_path) / filename, "wb") as f:
            f.write(response.content)