Whatever
This commit is contained in:
@@ -21,6 +21,7 @@ DLHD_DOMAIN = SITE['DaddyLiveHD']['url']
|
||||
GS_DOMAIN = SITE['Guardaserie']['url']
|
||||
GHD_DOMAIN = SITE['GuardaHD']['url']
|
||||
OST_DOMAIN = SITE['Onlineserietv']['domain']
|
||||
ES_DOMAIN = SITE['Eurostreaming']['url']
|
||||
SC = SITE['StreamingCommunity']['enabled']
|
||||
FT = SITE['Filmpertutti']['enabled']
|
||||
TF = SITE['Tantifilm']['enabled']
|
||||
@@ -34,6 +35,7 @@ MYSTERIUS = SITE['Mysterius']['enabled']
|
||||
GS = SITE['Guardaserie']['enabled']
|
||||
GHD = SITE['GuardaHD']['enabled']
|
||||
OST = SITE['Onlineserietv']['enabled']
|
||||
ES= SITE['Eurostreaming']['enabled']
|
||||
DLHD = SITE['DaddyLiveHD']['enabled']
|
||||
TF_ForwardProxy = SITE['Tantifilm']["TF_ForwardProxy"]
|
||||
SC_ForwardProxy = SITE['StreamingCommunity']["SC_ForwardProxy"]
|
||||
@@ -44,6 +46,7 @@ AW_ForwardProxy = SITE['AnimeWorld']["AW_ForwardProxy"]
|
||||
MX_ForwardProxy = SITE['CB01']["MX_ForwardProxy"]
|
||||
CB_ForwardProxy = SITE['CB01']["CB_ForwardProxy"]
|
||||
OST_ForwardProxy = SITE['Onlineserietv']["OST_ForwardProxy"]
|
||||
ES_ForwardProxy = SITE['Eurostreaming']['ES_ForwardProxy']
|
||||
GS_PROXY = SITE['Guardaserie']["GS_PROXY"]
|
||||
GH_PROXY = SITE['GuardaHD']["GH_PROXY"]
|
||||
TF_PROXY = SITE['Tantifilm']["TF_PROXY"]
|
||||
@@ -53,6 +56,7 @@ VX_PROXY = SITE['StreamingCommunity']["VX_PROXY"]
|
||||
AW_PROXY = SITE['AnimeWorld']["AW_PROXY"]
|
||||
MX_PROXY = SITE['CB01']["MX_PROXY"]
|
||||
OST_PROXY = SITE['Onlineserietv']["OST_PROXY"]
|
||||
ES_PROXY = SITE['Eurostreaming']['ES_PROXY']
|
||||
ips4_device_key = SITE['DDLStream']['cookies']["ips4_device_key"]
|
||||
ips4_IPSSessionFront = SITE['DDLStream']['cookies']["ips4_IPSSessionFront"]
|
||||
ips4_member_id = SITE['DDLStream']['cookies']["ips4_member_id"]
|
||||
|
||||
@@ -13,8 +13,10 @@ async def get_TMDb_id_from_IMDb_id(imdb_id,client):
|
||||
else:
|
||||
return None
|
||||
async def get_IMDB_id_from_TMDb_id(tmdb_id,client):
|
||||
print(tmdb_id)
|
||||
url = f"https://api.themoviedb.org/3/movie/{tmdb_id}?api_key={TMDB_KEY}"
|
||||
response = await client.get(url)
|
||||
print(response.text)
|
||||
if response.status_code == 200:
|
||||
data = response.json()
|
||||
imdb_id = data.get('imdb_id')
|
||||
|
||||
@@ -206,301 +206,6 @@ STREAM = {
|
||||
"poster": "https://static.sky.it/static_clientlibs/skycielo/clientlibs/clientlib-site/resources/images/facebook.jpg",
|
||||
"url": "https://hlslive-web-gcdn-skycdn-it.akamaized.net/TACT/11219/cieloweb/master.m3u8?hdnea=st=1701861650~exp=1765449000~acl=/*~hmac=84c9f3f71e57b13c3a67afa8b29a8591ea9ed84bf786524399545d94be1ec04d"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-action",
|
||||
"title": "Sky Cinema Action",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-cinema-action_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-arte",
|
||||
"title": "Sky Arte",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.davinciface.com/wp-content/uploads/2022/07/sky_arte_logo-270x270.jpg"
|
||||
},
|
||||
{
|
||||
"id": "sky-atlantic",
|
||||
"title": "Sky Atlantic",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-atlantic_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-collection",
|
||||
"title": "Sky Cinema Collection",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-cinema-collection_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-comedy",
|
||||
"title": "Sky Cinema Comedy",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-cinema-comedy_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-drama",
|
||||
"title": "Sky Cinema Drama",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster":"https://i.imgur.com/Z8hr5aR.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-due",
|
||||
"title": "Sky Cinema Due",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://i.imgur.com/xfbZiXs.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-family",
|
||||
"title": "Sky Cinema Family",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-cinema-family_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-romance",
|
||||
"title": "Sky Cinema Romance",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-cinema-romance_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-suspence",
|
||||
"title": "Sky Cinema Suspence",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://i.imgur.com/vS97bNg.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-cinema-uno",
|
||||
"title": "Sky Cinema Uno",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-cinema-1_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-crime",
|
||||
"title": "Sky Crime",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://i.imgur.com/j2JdQaH.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-documentaries",
|
||||
"title": "Sky Documentaries",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://artworks.thetvdb.com/banners/posters/117551-3.jpg"
|
||||
},
|
||||
{
|
||||
"id": "sky-investigation",
|
||||
"title": "Sky Investigation",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-investigation_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-nature",
|
||||
"title": "Sky Nature",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster":"https://search.bus-hit.me/image_proxy?url=https%3A%2F%2Fstatic.wikia.nocookie.net%2Flogosfake%2Fimages%2Fa%2Fad%2FSky_Nature_Generic_ID_2020.png%2Frevision%2Flatest%2Fscale-to-width-down%2F1200%3Fcb%3D20200725184630&h=71ab69ffa3abfe2ce6c20912b44f862adff4f10b9d4d761c18d292b7ffa3e9a9"
|
||||
},
|
||||
{
|
||||
"id": "sky-serie",
|
||||
"title": "Sky Serie",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://i.imgur.com/FYvSq5T.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-uno",
|
||||
"title": "Sky Uno",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.miotvonline.com/wp-content/uploads/2020/09/sky-uno-straming-live-miotv.jpg"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-24",
|
||||
"title": "Sky Sport 24",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://img2.sport-tv-guide.live/images/tv-station-sky-sport24-it-356.png"
|
||||
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-golf",
|
||||
"title": "Sky Sport Golf",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://search.bus-hit.me/image_proxy?url=https%3A%2F%2Fencrypted-tbn0.gstatic.com%2Fimages%3Fq%3Dtbn%3AANd9GcRQoDZOK798-OYz0E_NAahzde_JW-hLcHK-PjLm0rCXyVVcj_Y%26s&h=4b1b7a276442b52778daf26f745d06f57ff6c0cf401f4d7f3e371a566247f3ef"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-251",
|
||||
"title": "Sky Sport 251",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-252",
|
||||
"title": "Sky Sport 252",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-253",
|
||||
"title": "Sky Sport 253",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-254",
|
||||
"title": "Sky Sport 254",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-255",
|
||||
"title": "Sky Sport 255",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-256",
|
||||
"title": "Sky Sport 256",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-257",
|
||||
"title": "Sky Sport 257",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-258",
|
||||
"title": "Sky Sport 258",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-259",
|
||||
"title": "Sky Sport 259",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-260",
|
||||
"title": "Sky Sport 260",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-261",
|
||||
"title": "Sky Sport 261",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://logodownload.org/wp-content/uploads/2020/06/sky-sports-logo-0-1.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-max",
|
||||
"title": "Sky Sport Max",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://i.imgur.com/TWl58VI.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-uno",
|
||||
"title": "Sky Sport Uno",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-sport-1_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-f1",
|
||||
"title": "Sky Sport F1",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://i1.wp.com/cache.pressmailing.net/thumbnail/story_hires/395b1e2f-a1c6-4cf6-9869-02155da4021f/Sky_F1_Logo.jpg.jpg"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-motogp",
|
||||
"title": "Sky Sport MotoGP",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://img2.sport-tv-guide.live/images/tv-station-sky-sport-motogp-360.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-calcio",
|
||||
"title": "Sky Sport Calcio",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/sky-sport-2_c.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-arena",
|
||||
"title": "Sky Sport Arena",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://img2.sport-tv-guide.live/images/tv-station-sky-sport-arena-354.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-tennis",
|
||||
"title": "Sky Sport Tennis",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://pbs.twimg.com/profile_images/1752313472325431296/jr-YrkR6_400x400.png"
|
||||
},
|
||||
{
|
||||
"id": "sky-sport-nba",
|
||||
"title": "Sky Sport NBA",
|
||||
"name": "",
|
||||
"genres": ["Sky"],
|
||||
"poster": "https://www.nbareligion.com/wp-content/uploads/2019/09/sky-sport-nba.jpg"
|
||||
},
|
||||
{
|
||||
"id": "dazn-zona-a",
|
||||
"title": "DAZN Zona A",
|
||||
"name": "",
|
||||
"genres": ["DAZN"],
|
||||
"poster": "https://i.ytimg.com/vi/0cEfGLq-tz4/maxresdefault.jpg"
|
||||
},
|
||||
{
|
||||
"id": "dazn-1",
|
||||
"title": "DAZN 1",
|
||||
"name": "",
|
||||
"genres": ["DAZN"],
|
||||
"poster": "https://i.ytimg.com/vi/0cEfGLq-tz4/maxresdefault.jpg"
|
||||
},
|
||||
{
|
||||
"id": "eurosport-1",
|
||||
"title": "Eurosport 1",
|
||||
"name": "",
|
||||
"genres": ["Warner Bros"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/eurosport-1_c.png"
|
||||
},
|
||||
{
|
||||
"id": "eurosport-2",
|
||||
"title": "Eurosport 2",
|
||||
"name": "",
|
||||
"genres": ["Warner Bros"],
|
||||
"poster": "https://www.sorrisi.com/guidatv/bundles/tvscnewsite/css/images/loghi/eurosport-2_c.png"
|
||||
},
|
||||
{
|
||||
"id": "dmax",
|
||||
"title": "DMAX",
|
||||
@@ -914,4 +619,5 @@ provider_map = {
|
||||
"GS": "GUARDASERIE",
|
||||
"GHD": "GUARDAHD",
|
||||
"OST": "ONLINESERIETV",
|
||||
"ES": "EUROSTREAMING"
|
||||
}
|
||||
+22
-4
@@ -139,8 +139,8 @@ random_headers = Headers()
|
||||
async def eval_solver(stream_link,proxies, ForwardProxy, client):
|
||||
try:
|
||||
headers = random_headers.generate()
|
||||
headers["user-agent"] = "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.71 Mobile Safari/537.36"
|
||||
headers["User-Agent"] = "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.71 Mobile Safari/537.36"
|
||||
headers["User-Agent"] = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
|
||||
headers["accept-language"] = 'en-US,en;q=0.5'
|
||||
response = await client.get( ForwardProxy + stream_link, allow_redirects=True, timeout=30, headers = headers, proxies = proxies, impersonate = "chrome124")
|
||||
print("Eval:",response.status_code)
|
||||
soup = BeautifulSoup(response.text, "lxml",parse_only=SoupStrainer("script"))
|
||||
@@ -148,10 +148,28 @@ async def eval_solver(stream_link,proxies, ForwardProxy, client):
|
||||
for i in script_all:
|
||||
if detect(i.text):
|
||||
unpacked_code = unpack(i.text)
|
||||
match = re.search( r'file:"(.*?)"', unpacked_code)
|
||||
if "mixdrop" in stream_link:
|
||||
pattern = r'MDCore.wurl ?= ?"(.*?)"'
|
||||
|
||||
else:
|
||||
pattern = r'file:"(.*?)"'
|
||||
match = re.search(pattern, unpacked_code)
|
||||
if match:
|
||||
m3u8_url = match.group(1)
|
||||
return m3u8_url
|
||||
except Exception as e:
|
||||
print("Eval solver error\n",e)
|
||||
raise Exception("Error in eval_solver")
|
||||
raise Exception("Error in eval_solver")
|
||||
|
||||
|
||||
#Testing
|
||||
async def test_animeworld():
|
||||
from curl_cffi.requests import AsyncSession
|
||||
async with AsyncSession() as client:
|
||||
results = await eval_solver("https://mixdrop.cv/e/l6kqxrm4t4l4or",{},"",client)
|
||||
print("https:"+results)
|
||||
|
||||
if __name__ == "__main__":
|
||||
import asyncio
|
||||
asyncio.run(test_animeworld())
|
||||
#python3 -m Src.Utilities.eval
|
||||
|
||||
@@ -53,6 +53,10 @@ def get_info_tmdb(tmbda,ismovie,type):
|
||||
date = show.first_air_date
|
||||
date = date.split("-")[0]
|
||||
return showname,date
|
||||
elif type == "Eurostreaming":
|
||||
date = show.first_air_date
|
||||
date = date.split("-")[0]
|
||||
return showname,date
|
||||
|
||||
elif ismovie == 1:
|
||||
movie = Movie()
|
||||
@@ -133,6 +137,10 @@ async def get_info_imdb(imdb_id, ismovie, type,client):
|
||||
date = data['tv_results'][0]['first_air_date']
|
||||
date = date.split("-")[0]
|
||||
return showname,date
|
||||
elif type == "Eurostreaming":
|
||||
date = data['tv_results'][0]['first_air_date']
|
||||
date = date.split("-")[0]
|
||||
return showname,date
|
||||
|
||||
elif ismovie == 1:
|
||||
showname= data['movie_results'][0]['title']
|
||||
|
||||
Reference in New Issue
Block a user