Traceback (most recent call last):

 "piltest.py", line 17, in <module>
image = Image.frombytes(mode, im_size, b, decoder, None)

 "/root/.virtualenvs/cv/lib/python3.4/site-packages/PIL/Image.py", line 2085, in frombytes
im.frombytes(data, decoder_name, args)

 "/root/.virtualenvs/cv/lib/python3.4/site-packages/PIL/Image.py", line 741, in frombytes
d = _getdecoder(self.mode, decoder_name, args)

 "/root/.virtualenvs/cv/lib/python3.4/site-packages/PIL/Image.py", line 418, in _getdecoder
return decoder(mode, *args + extra) TypeError: function takes at least 3 arguments (2 given)```
 Traceback (most recent call last):

video_id, player_url, s


 "/app/vendor/bundle/ruby/2.3.0/bundler/gems/youtube-dl.rb-05cc66ae863a/vendor/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature


 "/app/vendor/bundle/ruby/2.3.0/bundler/gems/youtube-dl.rb-05cc66ae863a/vendor/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 897, in _extract_signature_function
 ExtractorError: Cannot identify player u'/yts/jsbin/player-vflL_WLGI/en_US/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type
youtube-dl -U
to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
