jsergio123 / script.module.resolveurl

Fork of the UrlResolver from tknorris
GNU General Public License v2.0
110 stars 98 forks source link

Fix streamsb #614

Closed shellc0de27 closed 2 years ago

shellc0de27 commented 2 years ago

This should do the trick

shellc0de27 commented 2 years ago

So i noticed domain var (on line 47) was left from my testing. Which does work across all the ones i tested. However, should i update that to another one? What are your thoughts?

Gujal00 commented 2 years ago

So i noticed domain var (on line 47) was left from my testing. Which does work across all the ones i tested. However, should i update that to another one? What are your thoughts?

Domain for this should be aHR0cHM6Ly9zdHJlYW1zYi5uZXQ6NDQz it is basically base64 encode site base url, which is https://streamsb.net:443 in this case

so the best way would be to replace that line with

domain = base64.b64encode((rurl[:-1] + ':443').encode('utf-8'))
shellc0de27 commented 2 years ago

For some reason i had better results just hard coding that domain you suggested

Gujal00 commented 2 years ago

Thanks