Closed win98se closed 6 years ago
I'm not supporting Windows anymore; in any case, I believe platform.uname()
should do the trick. Perhaps submit a PR? :)
I'm also having problems with the regex on line 73...
It should work in theory, but it doesn't seem to work in reality...
VALID_EPISODES_URL = r"http?://tv\.toggle\.sg/(?:en|zh)/.+?/episodes"
to
VALID_EPISODES_URL = r"https://tv\.toggle\.sg/(?:en|zh)/.+?/episodes"
@win98se Possible fix pushed as b930d1f
@0x776b7364 Thank you, solved.
@NGPriest There aren't any issues here with line 73 using http?
instead of https
.
Windows doesn't support
os.uname()
, so the line 460 (logger.debug(os.uname())
) causes an error in Windows. I commented that line and everything else works as expected.