Damianonymous / streamlink-plugins

88 stars 42 forks source link

Replacing the unquote import and replacing the unquoting of the messa… #24

Closed TheJellycake closed 11 months ago

TheJellycake commented 2 years ago

Replacing the unquote import and replacing the unquoting of the message with the new function.

I was getting this error when trying to use your plugin.

ImportError: cannot import name 'unquote' from 'streamlink.compat' (C: \Program Files (x86)\Streamlink\pkgs\streamlink\compat.py)

Seeing as though the current streamlink compat.py file has nothing including unquote and I tried the suggested fixes found on google (re install master branch and all that), I figured I would just try fixing it myself.

Works just fine on my end.

(sorry if this is too lengthy or whatever, this is my first ever commit/pull request and I practically have no idea what I'm doing. amazed this actually worked to be honest)

NormanMises commented 1 year ago

Thanks!!! It did works!!!