plugins.bigo: FlashVars regex updated due to site change

This commit is contained in:
beardypig 2016-12-08 16:23:18 +00:00
parent 96a6a9569b
commit 6fa4078c81
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class BigoStream(Stream):
class Bigo(Plugin):
_url_re = re.compile(r"https?://(live.bigo.tv/\d+|bigoweb.co/show/\d+)")
_flashvars_re = flashvars = re.compile(
r'''^\s*(?<!<!--)<param.*value="sid=(\d+)&uid=(\d+)&ip=(\d+\.\d+\.\d+\.\d+)&port=(\d+)"''',
r'''^\s*(?<!<!--)<param.*value="tmp=(\d+)&channel=(\d+)&srv=(\d+\.\d+\.\d+\.\d+)&port=(\d+)"''',
re.M)
@classmethod