Traceback (most recent call last):


 "E:/Practice/testing.py", line 6, in <module>

print(len(playlist.video_urls))


 "C:\Python\Python 3.7\lib\site-packages\pytube\contrib\playlist.py", line 242, in video_urls

for page in list(self._paginate())


 "C:\Python\Python 3.7\lib\site-packages\pytube\contrib\playlist.py", line 111, in _paginate

req = request.get(load_more_url, extra_headers=headers)
TypeError: get() got an unexpected keyword argument 'extra_headers'

Traceback (most recent call last):


 "/disk/home/sinan/Downloads/spack/bin/spack", line 48, in <module>

sys.exit(spack.main.main())


 "/disk/home/sinan/Downloads/spack/lib/spack/spack/main.py", line 697, in main

return _invoke_command(command, parser, args, unknown)


 "/disk/home/sinan/Downloads/spack/lib/spack/spack/main.py", line 447, in _invoke_command

return_val = command(parser, args)


 "/disk/home/sinan/Downloads/spack/lib/spack/spack/cmd/create.py", line 719, in create

package = package_class(**constr_args)
TypeError: __init__() got an unexpected keyword argument 'url'
