Fix VVVVID, streamsb e nuovo server filemoon. Miglior passaggio info a trakt (se attivo)

This commit is contained in:
marco
2023-03-02 20:47:05 +01:00
parent c1ce1abcae
commit 14ee433eb5
6 changed files with 59 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ def get_sources(page_url):
rand1 = "".join([random.choice(string.ascii_letters) for y in range(12)])
rand2 = "".join([random.choice(string.ascii_letters) for y in range(12)])
_0x470d0b = '{}||{}||{}||streamsb'.format(rand1, code, rand2)
sources = 'https://streamas.cloud/sources50/' + codecs.getencoder('hex')(_0x470d0b.encode())[0].decode()
sources = 'https://streamas.cloud/sources51/' + codecs.getencoder('hex')(_0x470d0b.encode())[0].decode()
# does not lite other headers different than watchsb and useragent
ret = httptools.downloadpage(sources, headers={'watchsb': 'sbstream', 'User-Agent': httptools.get_user_agent()}, replace_headers=True).json
logger.debug(ret)