Skip to content

Commit

Permalink
Fix Streamsb (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
shellc0de27 committed Jan 14, 2023
1 parent 9e71f6a commit 8dd2b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.module.resolveurl/lib/resolveurl/plugins/streamsb.py
Expand Up @@ -37,7 +37,7 @@ class StreamSBResolver(ResolveUrl):
'embedtv.fun', 'sblongvu.com', 'arslanrocky.xyz', 'sbchill.com']
pattern = r'(?://|\.)(' \
r'(?:view|watch|embed(?:tv)?|tube|player|cloudemb|japopav|javplaya|p1ayerjavseen|stream(?:ovies)?|vidmovie)?s{0,2}b?' \
r'(?:embed\d?|play\d?|video|fast|full|streams{0,3}|the|speed|l?anh|tvmshow|longvu|arslanrocky|sbchill)?\.(?:com|net|org|one|tv|xyz|fun))/' \
r'(?:embed\d?|play\d?|video|fast|full|streams{0,3}|the|speed|l?anh|tvmshow|longvu|arslanrocky|chill)?\.(?:com|net|org|one|tv|xyz|fun))/' \
r'(?:embed[-/]|e/|play/|d/|sup/)?([0-9a-zA-Z]+)'

def get_media_url(self, host, media_id):
Expand Down Expand Up @@ -89,4 +89,4 @@ def makeid(length):
c2 = binascii.hexlify(x.encode('utf8')).decode('utf8')
x = '{0}||{1}||{2}||streamsb'.format(makeid(12), c2, makeid(12))
c3 = binascii.hexlify(x.encode('utf8')).decode('utf8')
return 'https://{0}/sources49/{1}/{2}'.format(host, c1, c3)
return 'https://{0}/sources50/{1}/{2}'.format(host, c1, c3)

0 comments on commit 8dd2b04

Please sign in to comment.