Fix Okru+ fix skystreaming

This commit is contained in:
UrloMythus
2024-09-19 18:07:27 +02:00 Unverified
parent d185f0a478
commit 5350721e9a
17 changed files with 761 additions and 79 deletions
+2 -1
View File
@@ -8,9 +8,10 @@ HF = config.HF
env_vars = load_env()
PROXY_CREDENTIALS = env_vars.get('PROXY_CREDENTIALS')
TF_DOMAIN = config.TF_DOMAIN
import urllib.parse
async def search(showname,ismovie,date,client):
showname = showname.replace(" ","%20")
showname = urllib.parse.quote_plus(showname)
url = f'https://www.tanti.bond/ajax/posts?q={showname}'
response = await client.post(url, allow_redirects=True, impersonate = "chrome120")
response = response.json()['data']