Traceback (most recent call last):


 "/usr/bin/youtube-dl", line 11, in <module>

load_entry_point('youtube-dl==2020.5.29', 'console_scripts', 'youtube-dl')()


 "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 478, in main

_real_main(argv)


 "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 468, in _real_main

retcode = ydl.download(all_urls)


 "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 2018, in download

res = self.extract_info(


 "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info

return self.process_ie_result(ie_result, download, extra_info)


 "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 863, in process_ie_result

return self.process_video_result(ie_result, download=download)


 "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 1460, in process_video_result

t['url'] = sanitize_url(t['url'])


 "/usr/lib/python3/dist-packages/youtube_dl/utils.py", line 2135, in sanitize_url

if url.startswith('//'):
AttributeError: 'dict' object has no attribute 'startswith'

Traceback (most recent call last):


 "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched

return func(*args, **keywargs)


 "/home/ubuntu/binaryalert/tests/manage_test.py", line 357, in test_deploy

mock_test.assert_called_once()


 "/usr/lib/python3.5/unittest/mock.py", line 583, in __getattr__

raise AttributeError(name)
AttributeError: assert_called_once
