jsergio123 / script.module.resolveurl

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

Streamsb stop working #612

Closed sviet2k closed 2 years ago

sviet2k commented 2 years ago

Hi @Gujal00 ,

The streamsb stop working. The 'download link' does not return the href in the response :(. Can you please fix it when you have time? hxxps://streamsb.net/embed-h4fg8eh792ff.html

Thank you,

Gujal00 commented 2 years ago

Yes that particular one has downloads disabled on the website itself. Is it happening for all embeds?

sviet2k commented 2 years ago

Also for watchsb .Don't know other embeds. I will try to find other link But I think download is not disabled only a newer way to hide the dl link.

shellc0de27 commented 2 years ago

@Gujal00 based off what I'm seeing, may need to modify girc a little to capture that token...i think :P

Gujal00 commented 2 years ago

Fixed in #614

Update: Something changed again on site and is broken again

shellc0de27 commented 2 years ago

@Gujal00 What do think about trying this....

use your idea of base64 module, but chop off any extra unnecessary shit at the end after the encoding domain = base64.b64encode((rurl[:-1] + ':443').encode('utf-8')) domain = re.sub(r'\W', '', domain)

does that help?

shellc0de27 commented 2 years ago

Seems like the = is never needed for those api calls. Only ever seen a . at the end of the string Not sure if they replace the = with the . however, leaving it all off works too

Gujal00 commented 2 years ago

This seems to work

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

awesome let me test real quick

shellc0de27 commented 2 years ago

perfect works :)

Gujal00 commented 2 years ago

Fixed in https://github.com/jsergio123/script.module.resolveurl/commit/51dd70baa04f9e871b5d7bd80c238553359b6c35

sviet2k commented 2 years ago

Hi,

Can you please double check the sbplay2? It seems it does not work. hxxps://sbplay2.com/e/6ndvw265eiyx

Thank you.